approvals are not waiting for all groups which are collected in the list collector field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
The List collector field on the change record needs to gather groups in the new state and subsequently trigger approvals for all those groups in the Access state. I'm utilizing Flow Designer and have implemented the 'Ask for Approval' action to generate the approvals, which are being created as I intended, simultaneously for all groups. My goal is to obtain one member's approval from each group. However, the issue arises when the process does not wait for all groups; as soon as any member from any group approves, it marks the action as approved and moves on to the next step.
Could you please assist me in constructing this logic using Flow Designer? I need the approvals to be triggered for all groups at the same time and for the process to wait until one member from each group has given their approval. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi @SChopade
Configure the approval logic to require all groups to approve, not any group. Since each group approval is satisfied by any one member of that group, the flow will continue only after one member from every group has approved. If the Ask for Approval action doesn’t support this directly, create one approval per group and wait until all approval records are completed before proceeding.
This helps other users find accurate and useful information more easily
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
54m ago - last edited 51m ago
Hi @SChopade
The native Ask for Approval action in Flow Designer does not support a one approval per group requirement natively.
It evaluates group approvals as either all users must approve or any one user approves across all targeted groups.
To force the flow to wait for exactly one approval from each group, you must break the process into a loop.
Step-by-Step Solution
- Use a custom action or script step to convert your List Collector's comma-separated string of group sys_ids into an array.
(function execute(inputs, outputs) {
var collector = inputs.list_collector_string.toString();
outputs.group_array = collector.split(',');
})(inputs, outputs);
2. Add a For Each flow logic block to iterate through the array of group sys_ids.
3. Inside the For Each block, add the Ask for Approval action.
- Rules: Set the rules to: Anyone approves
- Wait Condition:add a Wait for Condition after the approval action which will wait until the approval field is updated to approved or rejected.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
41m ago
this is known issue
you can use scripted flow approval
Scripted Approvals in Flow Designer with Flow Variables
also check this
One person from each group should Approve in Flow Designer
Image of KB from above link
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader