I have a parent workflow that creates an item and then I have a child workflow using the Action "Start Workflow" to trigger a workflow that sends out an email. I have it structured this way for the sake of ordering - I do not want the email to be sent out first.
In any event the Start Workflow Action has an option of "Wait for the workflow to complete before continuing". When should I select this option
Solved! Go to Solution.
You'll want to check this box when you want all logic in the workflow that is started by the action to complete before continuing to process in your current workflow. This will give you a chance to perform some logic before the current workflow continues. Say you wanted to update some items, or set some values somewhere, before the current workflow continues, then this would be a good box to check. It really is an option that helps with the timing of things (although there is a lot more to be said about timing in general).
Otherwise without this option checked, your workflow will execute the Start Workflow action and then continue on to the next action immediately afterwards, regardless of whether or not the started workflow has completed.
I am still confused on this case ... :/
I have 2 workflows: Reference and Approval.
When a request is raised, the Reference generates a number and THEN STARTS the Approval workflow.
What does the "Wait for the workflow to complete before continuing" option do in my case???
- wait for the Reference workflow to complete and then move to Approval workflow?
- or will it wait for Approval wf to complete before completing the Reference workflow?
When you use this option, it will start the other workflow and allow that other workflow to complete before continuing itself any further. Think of it like "launch that other workflow and run it to completion and then come back here to this point and continue doing everything else that is left."