I have 2 workflow, and am trying to pass association data from Parent to Child. I don't see how to access the association data in the child workflow. Can anyone help with this?
Solved! Go to Solution.
Patrick Kelligan, the problem is that the child workflow runs on a separate list from the parent.
I will check out the store and retrieve actions.
Patrick Kelligan, if I could access the Workflow Instance ID it seems that I should be able to access the association data that I setup in the parent wf. I mean, what is the point of association data except to pass data from one workflow to the other? Maybe I'm missing something.
You could try setting up an itermediary list that will hold the data for you. Create a key that the other workflow would recognise, either a composite key or use the workflow instance ID as you mentioned in your post. Just thinking outloud.
you have to configure child workflow's variables that should accept inputs from parent workflow as 'Show on start form'
then, if you use Start workflow action to start child workflow, they will appear on action's configuration dialog and you will be able to configure what data to hand over.
if you use web service call to start child workflow then association data has to match variable names from child workflow.
, I am using the call web service to start the child workflow. I've got the variable in the parent and child workflows to be the same name. I am passing that variable in the association data, and the variable on the child workflow is shown on the start form. But the variable in the child workflow is not picking up the value.