Parallel Approvals Issue in Flow Designer – Record Updates After Single Approval
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I am trying to implement parallel approvals in ServiceNow Flow Designer.
- I have a main flow that calls two subflows.
- One subflow is created for the group level approval where any one person from the group is enough to approve/reject the approval. Second subflow is created for individual approval where the approval will be triggered to specific user.
- My requirement is that the Request record should be updated only after both level approval is approved. Once both level of approvals are approved, the request state field should be set as approved and Approval field should be set as approved in the Request (sc_request) form.
- If even one approval is pending, the record should not be updated.
Issue:
Currently, the record is getting updated even if only one level of approval is approved, instead of waiting for both approvals.
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Koti18
- After the parallel block, add a Wait for Condition action ( If one approval rejects while another is pending, use the subflow outputs to stop the flow natively. The Wait for condition prevents unintended updates. )
- Set the condition to: Approval is Approved AND Request State is Approved. This ensures the flow pauses until both branches return Approved and the records are adjusted.
- Once the wait condition is met, proceed to update the sc_request record to set the Approval to Approved and State to Approved.
- ** Pass an output variable (like approval_status) from each subflow back to the main flow to easily evaluate if both approvals were successful.
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti