I have a simple Vs2010 Sequential workflow. I have followed this guide: http://msdn.microsoft.com/en-us/library/ms580283.aspx and various others
to get it working. So the connection from my workflow to the infopath form is OK and I can get data in and out via the Itemmetadata.xml file. However, one thing I can't work out how to do: add fields from the task item to the infopath form, e.g., the Status
I have tried adding a data connection to a SharePoint Library or List, but this creates repeating fields, i.e., for every item in the list - I want to just display the data for one task.
I figure I know the GUID of the task item so i could query the list from VS and pass it through to the form via ItemMetadata... but I assumed there would be an easier way to do this. The form should know what task item opened it... (for instance, if I go
to the list, and click "Customise form in infopath" then the form it creates is perfect - except that it will only publish it back to the list it came from - I can't save it as a generic reusable template.
Sorry if I'm asking anything daft, but any thoughts or good tutorials on this?
weirdbeardmt, PhD, BSc. Silly name, but lots of letters.
View Complete Post