Flow designer approvals, mixed group and user approvals

ablunt
Tera Expert

Hi All,

I'm trying to build an approval process in flow designer where I want to approve when anyone from a number of groups approve and everyone from a set of individual users approve and reject when anyone from any group and any individual user rejects. My current approval action looks like this:

Screenshot 2024-09-10 093351.png

The rejection part and the group approvals part work fine, but with the individual users when one approves, the other is set to no longer required. I've made sure the approval engine is off for this table. Am I missing something in the ask for approval action or does this have to be done another way?

1 ACCEPTED SOLUTION

ablunt
Tera Expert

Thank you @Voona Rohila@Rajesh Chopade1 and @Abhishek_Thakur for your help with this issue, I found the cause, we had a business rule running on the approval table which was interfering with the OOB approval behaviour, I've deactivated the business rule and now it is behaving as intended.

View solution in original post

11 REPLIES 11

Hello @ablunt ,

Instead of using the and operation between those approvals use 'or' so that, if anyone approves will set the no longer required for others.

 

Please mark my answer as accepted solution and give thumbs up, if it helps you.

Hi @Abhishek_Thakur,

I'm afraid that would not match the requirements I have, I need both user 1 and user 2 to approve, and I need one person from each of the groups in the list of groups to approve, only then should the approval go through. I do not want the users to be set to no longer required.

Hi @ablunt 

In Flow Designer, you cannot directly combine group and individual user approvals in a single "Approval" action with both types of conditions (anyone from groups and everyone from individuals) because group and user approvals have distinct logic in how approvals are handled.

However, a potential workaround would be to use multiple approval actions in parallel, or to create a custom Approval Rule using script or decision logic.

 

I hope my answer helps you to resolved your issue, if yes please mark my answer helpful and correct.

thank you

rajesh

Thanks @Rajesh Chopade1,

I've tried parallel approvals and seem to still get the same issues. I may need to look at building a custom approval rule.

I Configured the same way you did and It is working as expected 

 

VoonaRohila_1-1726040504319.png

You can see that the System Administrator one is still in 'Requested' State.

VoonaRohila_0-1726040483427.png

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP