How to skip Ask for approval action based on condition in Flow designer

Sriharsha3
Tera Contributor

Hello

 

Im configuring a flow with some actions after appoval. I need to skip this approval if the requester is manger/ director etc. How can i add this on ask for approval action to skip and then perform action.

This can be done by an if condition, but it is duplicate work and needed a solution to fix this.

 

Thanks 

1 ACCEPTED SOLUTION

Ah okay.

Then why don't you create an after insert BR on sysapproval table and there you check 

the requested for is manager/director, if yes change the state to no longer required.

This way the control moves further.

Mark the comment as a correct answer and helpful if this helps to solve the problem.

View solution in original post

16 REPLIES 16

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

You need to first determine that using the if condition

Then use the Ask for Approval action

please share what steps you have added so far

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

 

Yes i can use if condition and then with Ask for Approval. But doing so, i need to repeat the actions and flow logic again for both cases. I mean there are some 3 + actions and many flow logic conditions later. If i use this if condition, then i need to repeat everything again, as we dont have any way to connect to the already created actions & flow logic.

@Sriharsha 

That is how the design is.

Same goes when you use Workflow.

You usually use If Activity to determine if approval has to trigger or not.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

You can connect to further activities in workflow. I mean after if condition, both flow line with approval and skipping approval can be connected to single activity. Its not the case in flow & duplicate actions need to be created . I was thinking whether we can add scripting in ask for approval action to skip based on condition. If yes, what can i refer to as i'm new to flow designer scripting.