Can we send approval to user' manager using the Approval - Groups block in workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 08:30 AM
Currently we are sending approvals to multiple groups using Approval - Group block in workflow. But needed to add one of condition in the customized script in approval block that if requestor == approver person then the approval should go to his/her supervisor.
Typically we pass the approver group sys_ids into the answer = [] variable to send approval to respective approver group member. So can we pass the user's manager sys_id as well into this variable of Approval - Group block to send approval.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2024 07:00 AM
Hello @Sai Sonali ,
Yes, you can pass the required manager ID if it satisfies above condition.
However, it would be better if you do not hard code the sys_id in the workflow activity, Use Dot Walking (requested_for.manager) as requested for and manager value can be dynamic.
Kindly mark this as Accepted Solution/Helpful if above info. helps in any way and help in closing this thread.
Regards,
Shubham