I had a problem: how to conditionally impose validation constraints on a field? Business Rules are an ideal way to achieve this.

The problem was they span layers according to their “Scope” setting.

The available settings are:

SettingScope
All FormsIs applied when any Form for the entity is open.
(specific form)Is applied only when a specific Form is open.
TableIs applied across layers, into the Dataverse – and is applied at that low level, so even when Flows are running, etc.

If you stumble (like I did) on Business Rules applying validation on Forms but which should only be applicable for UI interactions, choose “All Forms”.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Quote of the era

In the beginning there was Jack … and Jack had a groove. And from this groove came the groove of all grooves. And while one day viciously throwing down on his box, Jack boldly declared “Let There Be House” and House music was born.

~ Chuck Roberts