Skip to main content
I need to add a Validation Rule on the Account object when the stage on the Opportunity object is in verification stage.

 

I want to add the verification stage to my account validation rule so the neccessary fields on the Account are required.
2 respostas
  1. 10 de jun. de 2020, 21:12
    Hi Stephen, 

     

    Formula syntax, including validation rules, cannot read child records, although it can retrieve data from a parent record. In your case, it sounds like you're trying to look from account at opportunity, which won't work. 

     

    What you need to do is bring the information up to the account level. In most cases that involves a process, but for this you might be able to make a rollup summary field that counts how many opportunities there are in verification status. You would then use that rollup summary in your validation rule.