
2 respostas
Hi Pooja,It won't throw an error, because the validation rule runs before the workflow rule. So when the workflow updates the amount to a value greater than 1000, the validation rule is not re-triggered again and hence it will NOT throw any error.Check the order of execution in Salesforce in the below link. Check the point no 12 which specifically mentions that validation rules do not run again after workflow field updates.https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_triggers_order_of_execution.htmKindly mark it as an answer if that resolves your query !