If you’ve worked with Business Rules, no doubt, you’ve spent time wondering why something isn’t working, when it comes to testing.
You’ve checked each condition and action, hoping you’ll spot the issue and get it working.
I’m going to share a little trick that can sometimes help you get to the bottom of the problem…
Checking your business rule
This is just a simple example, just to showcase the feature.
In my Murder Mystery system, after a user adds an episode, I don’t want them to be able to update one of the fields. So I’ve turned to my good old trusted friend, the Business Rule.
As I said, it’s a simple one, purely to demonstrate.
I’ve made the scope All Forms, and activated it. I went to test it, but alas it isn’t working, a few Ctrl+F5s later and it still hasn’t triggered…
How to check
Open the form editor, for the form you are expecting to see the change in. Click on one of the fields impacted by the Business Rule, and click on the Business rules tab in the top right area.
Click on the Business Rule that’s driving you crazy, and see what it says :
In this case, it tells me that ‘Created On’ isn’t on the form, and therefore the Business Rule won’t trigger/run.
So that’s it – just add the missing column to your form (it can be hidden if you don’t want it visible) and problem sorted!