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

Unanimous Approval Help Urgent

In Approval Process Step 3 Where i select Users for Approval and in the 4 th option where it says 

Automatically assign to approver(s). 



Step 3 of 3
Step 3. Select Assigned Approver
Specify the user who should approve records that enter this step. Optionally, choose whether the approver's delegate is also allowed to approve these requests.
Select Approver
Related User  --None--Created By  Last Modified By  Owner  Queue   Related User  --None--Created By  Last Modified By   Owner  
Let the submitter choose the approver manually.
Automatically assign using the user field selected earlier. (Approvers List
Automatically assign to queue. 
Automatically assign to approver(s).  
Add Row Remove Row


When multiple approvers are selected:
  • Approve or reject based on the FIRST response.
  • Require UNANIMOUS approval from all selected approvers.
The approver's delegate may also approve this request. 
how to i Add rows Dynamically using Apex . i have the List of users obtaining according to my Business Logic 



You can't modify metadata via Apex Code (at least, not in the manner you're looking for). Your code would have to be dynamically adding (and removing!) rows for every call, and I'm pretty sure this wouldn't be ideal later. You will probably want to make nearly identical approval processes, or use multiple steps that have entry criteria per your business logic.