Hi,
I have a simple workflow started with a infopath form, and afterwards a infopath client event.
My wish is, when the user receives the task and see the form, it already have information in some fields.
I tried two approachs to do this. In the first one, I added code in the connect line before the infopath client event. In the second approach I added a new server event with the same code used before to add information to the form.
I tried this code where set the XMLvalue = "Test Information" for test proposes only.
SourceCode.Workflow.Common.Utilities.XMLFieldMod.SetXMLValue(K2.ProcessInstance.XmlFields["Form1"].Value, "my:myFields/my:Subject","Test Information");
In both approaches, when user sees the form, the subject field stills empty without any information.
What i need to do to solve this problem? What i miss?
Thanks