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
Be'Anka AshaoluBe'Anka Ashaolu 

I'd like to create a validation rule that pulls from a related list to stop or allow stage progression. Possible?

We would like to limit our users from proceeding to a certain stage if no products have been selected on an opportunity. RIght now, it doesn't appear there is a way. But it's important that products be mandated and fear they won't be used if there's no trigger to ensure they're selected. Is there a way around validation rule limitations that only work on object fields?
Vishnu_SFDCVishnu_SFDC
You create a rool-up summery field on Products to find out the total number of products. Using that field create a validation rule.
Be'Anka AshaoluBe'Anka Ashaolu
That's right! I'll do that. Thank you!
Vishnu_SFDCVishnu_SFDC
Please marke answer as best answer if it solves your question.

Thanks,
Vishnu