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?