Skip to main content
Nintex Community Menu Bar

Starting a workflow using the API

  • October 30, 2008
  • 1 reply
  • 5 views

Forum|alt.badge.img+2

I am trying to start a K2 blackpearl (SharePoint integrated) workflow using the API. I am looking at the documentation and see the StartProcessInstance method on the SourceCode.Workflow.Client.Connection object. And I have used that method to create a workflow instance.

 However, I am confused about how to associate that workflow instance with a SharePoint list item. I know when a workflow is started from the SharePoint UI I have to explicitly go to the list item I want and start the workflow from there. How can I programatically do the same?

1 reply

Forum|alt.badge.img+9
  • Nintex Partner
  • October 31, 2008

If you run the SharePoint Workflow Integration wizard in 'Advanced Mode' (the check box on the wizard Welcome screen) you will eventually be presented with the below dialog to configure the Start Options.  Make sure the 'Automatically start the workflow when a new item is created' is checked.

 


13992iE3C37B6ECA2A0CF3.jpg