Add custom rule in ask for approval action

Peter Xiang
Tera Expert

Hi,

I have added a custom state "Return to previous approver" in apprvoal table. In OOTB action, it only have approval and reject options. How can I handle this action in ask for approval action? 

PeterXiang_0-1752653787460.png

PeterXiang_1-1752653946055.png

 

 

9 REPLIES 9

Hi @Community Alums ,

Below table are my use case, so OOTB can't meet my requirement.

ActionFlow
ApprovalGo to next flow
RejectClose case
Return to previous approverGo back to previous flow

Community Alums
Not applicable

Hi @Peter Xiang ,

 

As Ankur suggested stick to the OOB functionality, this will create a lot of technical debt and issues if ServiceNow changes any functionality in future.

 

However, you can propose that when someone reject instead of closing case, go back to previous flow (only few attempts).

Ankur Bawiskar
Tera Patron
Tera Patron

@Peter Xiang 

not possible.

Please adhere to the out-of-the-box (OOTB) process to minimize technical debt and ensure maintainability.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi @Ankur Bawiskar ,

Here is my requirement, do you have any ideal handle this situation?

 

ActionFlow
ApprovalGo to next flow
RejectClose case
Return to previous approverGo back to previous flow

@Peter Xiang 

Why not do this?

1) add a custom field on Approval Record of type checkbox and let the Approver select this checkbox "Return to previous approver?"

2) your flow will wait for 3 things Either Approved, Rejected or This checkbox

when it's approved -> it proceeds

when it's rejected -> case closed

when checkbox is checked -> you trigger approval again for the previous Approver

If my response helped please mark it correct and close the thread so that it benefits future readers.

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