Approval Triggering for Inactive user
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2022 11:47 AM
Change ticket approvals are being generated for the inactive user, It should trigger for only active users
It is happening for Manager approver and the CAB approvers.
Please help me where I need to put the condition as active=true.
Labels:
- Labels:
-
Change Management
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 08:43 AM
Hi ,
From Workflow

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2022 02:22 AM
HI,
You can have before insert business rule on sysapproval_approver table
Condition: current.approver.active.toString() == 'false'
Script:
(function executeRule(current, previous /*null when async*/) {
// Add your code here
current.setAbortAction(true);
})(current, previous);
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy.
Thanks,
RS