Hey all!
I'm currently starting a SP 2010 Nintex workflow in C# via the SPWorkflowManager.StartWorkflow method, which starts fine, but I need to set a Reviewer (User or Group) field as part of the Initialization Data for the workflow instance. I am trying to set the value in xml and pass it in the eventData parameter in the StartWorkflow method, but I don't know what format the xml should be in. Here is the workflow's Association Data xml I have to start with:
<Data>
<Reviewer />
<Claimed_x005F_x0020_Reviewer />
</Data>
What value do I set the Reviewer element to? I imagine it's something that specifies the user/group id, user/group account name, and if it is a user or group type. Any help would be appreciated.
Solved! Go to Solution.
here is a link to NWF 2013 SDK where there is described association data format, including examples.
it should be the same for NWF2010
Thanks Marian, I used the format <Variable>domain\\user</Variable> in my xml and it appears to be setting it correctly.