Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Modify a Workflow's AssociationData

$
0
0

We are trying to initiate an approval workflow and associate it to different users using C#. It looks like as soon as we try to modify the properties of the SPWorkflowAssociation that the workflow fails to start. The code in black below is how we try to start the workflow. We try to setthe association data's xml to change the person assigned to the workflow, but as soon as we do this, the workflow stops working. Any ideas?

manager.StartWorkflow(item, association, association.AssociationData);


Nikolas Charlebois-Laprade Microsoft Certified Professional & Software Engineer http://nikcharlebois.com


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>