function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jenny jadejenny jade 

Approval on Accounts

Please provide a solution to my project.
I have to build an Account Approval Process. which should work as below

Case #1
Users share same manager
'Account Owner' field is changed from Ben to Mike
and Ben and Mike work under same manager it should goto just that manger(x)

Case #2
Users do not share same manager
'Account Owner' field is changed from Ben to Julie
Ben and Julie dont work under same manger then it should route to Ben's Manger(x) and to Julie's Manager(y) and also to sys admins
........
How should I compare user's manger? and if they do not work under same manager how should I send approval two manager +sys admis.Please say something which is possible with configuration .

 
DixitDixit
Better to have a new field where you put the user of the manager, something like:
Manager_for_approval__c

and put the value of the user's manager with a WorkFlow Rule. Then use the field in your approval, so it can dynamically change with the user. 
jenny jadejenny jade
Dixit,

I am not able to figure out how can I make use of fields in Approval.