ServiceNow Learning 90: Use Case of Running a parallel Flow in ServiceNow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2023 07:27 AM
Hi All,
Today I would be covering how we can use parallel flows and what is the right use case of it.
Run actions and subflows in separate paths within an isolated flow logic block.
With this flow logic, you can run actions and subflows in separate paths. If any action within the Do the following in parallel flow logic block must wait, other actions run until all paths within the block finish processing.
Use Case 1: Create two tasks in parallel when a change request is created.
Use Case 2: Create two approval tasks in parallel when a request/RITM is created.
In this example, a flow triggers when a new change request is created. Using Do the following in Parallel, two tasks are created in separate paths and are assigned to different groups. The flow uses the Number field data pill from the triggering change request to display the number in the short description for the task record.
You can use any field from the trigger to display on Short Description or Description
Note: Paths in a Do the following in parallel flow logic block do not run in multiple threads, since a flow execution context runs in a single thread. Best Part is it waits for both the parallel tasks to do then it proceed further.
Hope it helps.
I hope this article helpful. Please mark it as helpful and bookmark if you like it.
Regards,
Shamma