Parallel group approval in flow

rambo1
Tera Guru

Hi team,

I am stuck at one requirement, please let me know your thoughts .

requirement - RITM will have 3 group approvals triggered all at once . I did this using ask for approval in flow and selected all 3 groups in same activity but there are only few approval rules like any one approve or all approve . But requirement is anyone from each group should approve , how can I achieve this . I know that if group approvals are created sequentially , this can be achieved but requirement is to have approvals triggered to all groups at once and at least one from each group must approve . Please help .

3 REPLIES 3

Bhuvan
Kilo Patron

@rambo1 

 

It is not supported in Flow Designer,

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0964016

 

Try using scripted approvals,

 

https://www.servicenow.com/community/workflow-automation-blogs/scripted-approvals-in-flow-designer-w...

 

If this helped to answer your query, please mark it helpful & accept the solution. 

 

Thanks,

Bhuvan

Ajay_Chavan
Kilo Sage
[RITM Trigger]
    ↓
[Do the following in Parallel - 3 branches]
    ↓                    ↓                    ↓
[Create Subtask A]   [Create Subtask B]   [Create Subtask C]
    ↓                    ↓                    ↓
[Ask Approval        [Ask Approval        [Ask Approval
 Group A on           Group B on           Group C on
 Subtask A]           Subtask B]           Subtask C]
    ↓                    ↓                    ↓
[Close Subtask A]    [Close Subtask B]    [Close Subtask C]
    ↓                    ↓                    ↓
        [Wait for All Branches to Complete]
                         ↓
              [Continue RITM Processing]
Glad I could help! If this solved your issue, please mark it as ✅ Helpful and ✅ Accept as Solution so others can benefit too.*****Chavan A.P. | Technical Architect | Certified Professional*****

kaushal_snow
Mega Sage

Hi @rambo1 ,

 

Flow Designer currently does not support the scenario by default. You can’t configure an Ask for Approval action to require at least one approval from each group when triggered in parallel. The system options like Anyone approves or All users approve aren’t granular enough to handle this case.

 

Servicenow Article link: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0964016


Instead you can follow this approach: Scripted Approvals via Subflows

 

Build your own logic by creating approval records manually..Use a Script Action to create sysapproval_approver records for each group member you want to target. Use a Wait for condition activity to monitor these records until they reach approval or rejection...Advance the RITM only after each group has at least one approver approved...

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

 

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/