Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Auto Reject Approval when the Requestor / Approver is Inactive

markchristianh
Tera Contributor

Hi All,

 

I need help with setting this up, here's the scenario:

 

1. When requestor of the RITM is inactive, the RITM approvals should automatically be rejected

2. When Approver of the RITM is inactive, the approval record should be rejected

3. When RITM approval is Group approval and only one Approver is inactive, the specific approval record in which the approver is inactive should be tagged as "No Longer Required" so that the RITM will not be cancelled

 

I have created a flow where it will reject the approval record when Requestor / Approver is inactive, but I'm still trying to find a way on how to do the scenario 3. We are BTW using Decision table for approvals of the catalog items.

 

Group approval:

markchristianh_0-1764514535810.png

markchristianh_1-1764514622854.png

 

Flow:

markchristianh_2-1764514732480.png

 

 

 

 

1 REPLY 1

kaushal_snow
Giga Sage

@markchristianh ,

 

You can add a before business rule on the Approval (sysapproval_approver) table that checks if the approver (or requestor) is inactive and, in that case, sets that approval record state to no longer required (or rejected as per your need), so when the approval is generated only active users are considered and inactive ones get auto skipped......that way if it’s a group approval and one member is inactive only that record is ignored and the rest of the group can still approve the RITM without cancelling the request........

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/