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
sravanthi sankasravanthi sanka 

Dynamic approval process with multiple approvers

Hi All,
I have custom object, from where approval process should be initated. Based on the Business unit Approvers will change. For some business units there is only one approver but for othere there are more than one. Upto 4 approver are there. I have created dynamic approval process where i can choose multiple approver at a time. see below
User-added imageBut now the problem is, if there are four approvers present then approval process is getting initated. If there are only one or two then it is giving below error . How can i initate approval process even with one approver.
User-added imageI have used below link to for dynamic approval process
https://automationchampion.com/tag/dynamic-approval-process-in-salesforce/