how to prevent a rule from automatically triggering?
Hi,
I'm seeking guidance on how to prevent the rule from automatically triggering when a subform of the "Summary Columns" type is opened/closed.
- "Execute Rules On Form Load Also" is not selected, but the rule is still triggered when a subform is opened
- The rule is also triggered when a subform is submitted (Ok button is clicked. Cancel button does not trigger the rule)
I have tried to use custom JavaScript to capture the button click event (click OK button) and prevent the rule from triggering automatically. However, no luck so far. I'd appreciate it if you could provide some guidance on how to.
Current version. NX 7 SU 2.5
-
I'm able to build the rule to address all potential variations by using "Execute Rules Independently" and comprehensive set of rules. I think it meets the requirements.
Just curious. Is it even possible to control the logic behind rule triggering when opening/saving a "Summary Columns" type subform by using custom JavaScript?
-
Hello,
By default rules shouldn't be triggering.
A few suggestions:
- Checking the form level rules to see if you have any rules triggering "on Form Load"
- Checking any controls in the subform to see if they are triggering rules on form load.
- Checking the console to see if any rules are triggering
Additionally, when looking through some version patch notes, v8 introduces
"15.0311.06
Add new row within a subform can be configured whether to trigger rule execution."Is this sort of configuration available in your current version?
Thanks,
Jason Wells
Please sign in to leave a comment.
Comments
2 comments