- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2025 04:01 AM
Hi Team ,
We want to sent approval to Manager of the Subject Person.
Challenge is , Subject Person's Manager1 --- > Approves ----> Manager1's Manager2 ---> Manager2's ---> Manager3 , and so on until the Manager field in User table is empty.
Actually, the idea is to send approval as per hierarchy , Manager - Associate Director - Director - VP , etc.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2025 04:47 AM
1) The first Run Script code is below
(RequestedFor is a variable)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2025 04:06 AM
Hi @SandeshD
May i know, how you are managing the HR case life cycle? Workflow or flow designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2025 04:10 AM
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2025 04:36 AM - edited 04-04-2025 04:37 AM
Hello @SandeshD ,
I'm not sure I fully understand your requirement.
Do you really need the approval from every manager in the hierarchy "until the Manager field in User table is empty"? Meaning the last approver would be the CEO?
I don't think that would be feasible because it's unknown how many approval steps need to be configured. If a low level employee is the subject person then there would be more approval steps than if a VP were the subject person.
Or do you just need the approval from the "next 3 managers" in the hierarchy?
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2025 04:47 AM
1) The first Run Script code is below
(RequestedFor is a variable)