Scenario is given below.
On Account, I have an approval process. and it's multistep approval. Let's assume its a 2 step approval. but in the approval steps, No approvers are mentioned. for the approvers, we are not having user lookups on Account but We have an Account Role object (Child of Account) from where approvers will be picked up dynamically based on the role (field on the object level) of the user.
Now suppose in the Account Role we have 3 users (3 records which contains user with the role) with the role Manager so in that case, approvers in the "first step" will be these 3 users and any of them can approve the record, and once approved the record will go in the next step to be approved.
Now I want to assign approvers dynamically in each step of the approval as explained in the above scenario.
Can I call the same defined approval in apex and then in apex set the approvers in different steps and fire the approval??
Any suggestions would be appreciated.