- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 01:28 AM
Hi Community,
I need help for inactive user approval send to manager approval in flow designer.
Example: Tommy is actual approver but Tommy is inactive in ServiceNow so the approval is skipping. This time the approval wants to trigger to Tommy Manager through flow designer for service catalog
Help me please.
Thanks,
Thanuja
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 02:43 AM
You can use the following script for the rules.
sys_id = "";
var obj = new GlideRecord("sys_user");
obj.get("46d44a23a9fe19810012d100cca80666"); // User sys_id
if(obj.active){
sys_id = obj.sys_id;
}else{
if(obj.manager){
sys_id = obj.manager;
}
}
return "ApprovesAnyU["+sys_id+"]";
Regards,
Vasu Cheeli

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 01:30 AM
You just to need an validation using IF flow logic , to check if approver is inactive, then check for the approver's manager, and send approval to the manager which you easily achieve using core flow actions
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 01:53 AM
Hi Aman,
Thanks for reply for particular user how can i check if user is active or not in flow designer by using flow designer.
Can you please help more easy.
Thanks,
thanuja
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 01:56 AM
please find the attached ss
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2023 02:00 AM