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

Sending record to manager for approval


I have standard approval process with 5 approval steps. I want to set up an approver in 4th step which should be manager of a approver from 1st step. How should I achieve this? I dont have this user present in current record but I have approver user from 1st step in a lookup field. I am thinking of creating a field (hidden) which will be filled automatically from apex controller using user.manager where user is approver from 1st step. Then I can use this field in approval step. Is my approach correct? If yes, will every record creator have access to user.manager so that the field will be properly filled. Thanks!
Any help on this please..