How to create a Child Workflow process in Dynamic 365 CE?

A child workflow process is a process that can be started by another workflow or dialog. If you want to apply the same logic in different workflows or in conditional branches, define that logic as a child workflow so you don’t have to replicate that logic manually in each workflow or conditional branch. This helps make your workflow easier to maintain. Instead of examining many workflows that may apply the same logic, you can just update one workflow.

Step 1:
Lets take a scenario where owner of the case gets a email notification every hour until the case is not resolved.
Settings > Processes > Click New > Add details > Click OK
Create this child workflow as background workflow otherwise you will not get the option/step to add delay.

Know more about workflow process

Step 2:
Check “As a child process” > Add wait condition > Add wait until duration > Save and close

Step 3:
Now lets check status of Case.
Add step “Check Condition” > Configure > Save and Close

Step 4:
Add step to send email notification.
Select the row > Add step “Send Email” > Set properties > Save and Close

Step 5:
Select if condition > Add step “Conditional branch” > Configure > Save and Close

Step 6:
Select row > Add step “Stop Workflow” > Status as Success
Why do we need to add stop workflow step? If we do not add stop workflow step then it will keep running in continuous loop.

Step 7:
Now add child workflow which call the same workflow until the workflow stops or cancelled
Select Timeout Description > Add “Start Child Workflow” > Find workflow in the lookup field > Click Add

Step 8:
Save > Activate > Create Case
For demo purpose I will change the timeout duration to 1 min

Step 9:
To check or debug the workflow process, we can use System jobs feature provided by Microsoft
Settings > System Jobs

Filter out the entity we are working on. Case.

Step 10:
Resolve the case > Add details

Step 11:
Double click and validate

With this we have covered Child Workflow Processes and System jobs. However, if you have any query regarding Dynamics CE, feel free to connect.

Leave a comment

Design a site like this with WordPress.com
Get started