Need help on skipping Approval in workflow

shaik_irfan
Tera Guru

Hi

I have a Workflow that contains multiple approval activities. Approvals are generating via script, now our client wants to skips if the Approver approves in First Activity then we want to skip the second approver if it contains the same approver.

 

Example:

Approver Activity #1:

John

Raymond

Dean

 

Approver Activity #2:

Sean

Fred

Raymond

 

Now if the Raymond approvers the first Approver activity then it should skip the Approver activtiy 2. 

 

Can anyone please help me on this

 

2 REPLIES 2

Michael Fry1
Kilo Patron

There is a solution mentioned here: https://www.servicenowguru.com/scripting/business-rules-scripting/prevent-redundant-approval-request...

 

Another solution is to use Approval Coordinator. It should filter out duplicate approvals.

Knight Rider
Mega Guru

Hi,

In the second approval activity, write  a script to get the  1st approver and check if the user belngs to the second approver (group -  I assume).

Glide Sys approval table to get approver user ID and then check if he is member of second approver.

Please let me know if you have any questions!!!

-Vinay.