
3 risposte
Hi Ravi,Dynamic Approval Process in Salesforce: Allocate the approvers dynamically to the record. Populate the approvers in the user lookup fields in the record.In the static approval process, we have to define the approvers in the approval process. Meaning whenever the record matches the approval process condition and approval process fires and associate the record to the approver which we define an approval process.Always we cannot achieve business criteria with the static approval process, meaning we have conditions like the record should be routed to different approvers based on region, country or with some other criteria. We have to write one static approval process for each condition.The steps for dynamic approval routing are:1. Create lookup fields on the object being approved.2. Create a custom object that will be used as an approval matrix.3. Populate the approval matrix.4. Create Apex code to fill in the lookup fields on the record, from the approval matrix.5. Create or update an approval process to utilize the new lookup fields.I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.Thanks,Ajay Dubedi