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
Venkat Reddy sfdVenkat Reddy sfd 

before submitted for approval, the record status getting locked for approval

Error: Invalid Data.
Review all error messages below to correct your data.
Update failed. First exception on row 0 with id a46K0000000D2YJIA0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, This Item is Locked for Approval.: []

When i Submit for Approve. the above error iam getting. but the field is in status='created' only. but its giving that field allready in locked for approval
Anoop yadavAnoop yadav
Hi,
The above error is from Validation Rule.
Check the condition in that rule.
 
Venkat Reddy sfdVenkat Reddy sfd
hi Anoop, 

Thanks for Reply, its resolved.. recurssion happend in my trigger