Skip to main content
Question

Rule failure

  • January 12, 2023
  • 1 reply
  • 16 views

Aokoli
Forum|alt.badge.img+1

Does anyone know why I am receiving this Gainsight rule failure message for Salesforce 'Salesforce Error ::FIELD_CUSTOM_VALIDATION_EXCEPTION:Won Opportunities are locked.  To unlock, reach out to your manager.:StageName ----' . 

1 reply

john_apple
Forum|alt.badge.img+5
  • Expert ⭐️
  • January 12, 2023

That’s likely happening when attempting to update an Opportunity record that has a validation rule for Won Opportunities. So it can’t update that record or records which will cause the rule to fail completely. 

I would troubleshoot by cloning the rule, filtering the query for one opportunity that is still in an Open state, and re-running. If that still fails, then probably looking at the validation rule in Salesforce to determine what it is using.