One person from each group should Approve in Flow Designer

swaroop
Kilo Sage

Hello All,

 

Advice required on this Requirement - There is a parallel Approval in Flow Designer, from that One person from each group should Approve as well if one person is Approved then Automatically for remaining persons from the same Group should become 'No Longer Required'.

I have tried by Empty the Approval Field on the Ask for Approval actions, so that no record watcher is being created for those approvals, but it is making all Approvers from each group to Approve.

Can any one please suggest me how to achieve this.

 

Thanks,

S.Swaroop.

6 REPLIES 6

Saloni Suthar
Mega Sage
Mega Sage

Hi @swaroop,

You can set the Rule to Anyone approves or rejects in the Ask for Approval action. 

 

SaloniSuthar_0-1715088468064.png

 


If my response helped you, please click on "Accept as solution" and mark it as helpful.
- Saloni

Hello Saloni,

Thanks for quick reply 🙂

When we have set it to Anyone approves or rejects, even if one user approves from one group also, remaining groups also moving to 'No longer required' state. But I am looking to have atleast one Approval from each group.

 

Thanks,

S.Swaroop.

Shruti Khaire
Kilo Sage

Hello @swaroop ,

 

When creating Approvals for Tasks or specifically Catalog items, the provided options of requesting approval from a specific user or group is not always sufficient to cover your use case. Sometimes you just need that extra condition to make sure the correct people may approve or reject.

In the "before Flow Designer times", this would mean Scripted Approvals. The Flow Action "Ask for Approval" also allows you to script approval rules, but it's not obvious at first glance which kind of input is needed to create the approval. The introduction of Flow Variables allows us to create approvals with an absolute minimum of scripting.

 

ShrutiKhaire_0-1715101444519.png

 

Hope this helps, thank you!

Zack Hilacan1
Mega Sage

Hello @swaroop ,

 

How about adding a "AND" rule within your "Ask for approval" Action?

ZackHilacan1_0-1715155223507.png

 

With this one,  you can select the groups that you wanted to approve the request and make the condition "Anyone approves" for all conditions so that only one user for each group is needed to approve the request and other members within that group will be "No Longer Required".

 

Hope this helps, please mark as helpful and accept as solution if it's correct. This will help other members in the community understand quickly if they have the same situation. Thanks!