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
Jai Monk-CharlickJai Monk-Charlick 

Process Automation Specialist - step 5

Hi everyone, 

I keep getting this error message no matter what I change and try, any insights?

"There was an unexpected error in your org which is preventing this assessment check from completing: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Requirements for opportunities > $100,000: []"

Can anyone isolate it to the Approval Process or Process Builder?
Steven NsubugaSteven Nsubuga
Check your validation rules on the opportunity object.
Jai Monk-CharlickJai Monk-Charlick
Sorry but I'm not sure exactly what you mean? Is that within the Process Builder or the Approval Process?
Steven NsubugaSteven Nsubuga
Neither, it is independent of both.
In Set up > Object Manager > Opportunity > Validation Rules
Narender Singh(Nads)Narender Singh(Nads)

Use this formula in your validation rule:

Amount >100000 && IsClosed=True && Approved__c =False
Jai Monk-CharlickJai Monk-Charlick
So checking the validation and rectifying has allowed me to move forward. Yet I'm now getting this message "A Closed Won Opportunity did not successfully either create an Robot Setup record and if it did, then the Date__c was not 180 date from the Opportunity Close Date."

This is my process:

User-added image
Vaibhav PurohitVaibhav Purohit
Hi Jai,

Were you able to clear that issue out. I have the same error while my process is fairly similar.
Ratnaprabha PawnikarRatnaprabha Pawnikar
@Narender Singh(Nads)
Hi ,
That formula worked for me. Thanks