Skip to main content
Nintex Community Menu Bar

How to save infopath data to SO and execute workflow on save?

  • May 11, 2009
  • 1 reply
  • 7 views

Forum|alt.badge.img+5

Hi there,


Am new to infopath. How can i save the infopath form data to SO and after saving the data trigger the workflow? Some example code would be quick to understand. Appreciate your help.


Thanks

1 reply

Forum|alt.badge.img+11
  • May 11, 2009

You can do this with no code! 



  • Add a SmartObject to your form using either the InfoPath integration wizard or right-click the XSN and use the SmartObject integratiobn wizard
  • Modify the Submit rule in your InfoPath form to move the data elements from the form to the SmartObject properties and then invoke the Save method before the K2 Submit
  • If you aren't using K2 InfoPath integration, you could make your SmartObject Create method a composite method that also calls the workflow SmartObject's Start method