I would like to call a sub workflow from my primary workflow synchronously. Currently I update fields and Wait for the field to update. Is there a better way of doing this?
Sure. I call the sub workflow from my main workflow. I want the sub workflow to complete before the next activity after the call in the main workflow. What is happening is that the main workflow makes the call, and then continues immediately with the next action.
The easiest way should be to add a "wait for item change" in your main workflow, and modify your child workflow so as it puts a specific value in your list before ending.
Your main workflow will then :
- start the subworkflow
- wait for the subworkflow to put this value before continuing