Rules
Rules provide a way to model the behavior or presentation logic of the form with minimal coding. This makes the logic easier to identify and maintain by both developers and business analysts.
Rules consist of events and actions. For example, the rule “Guardian required when Age < 21” is modeled as:
Whenever Customer Age changes, the Guardian Name field is marked as required only if Customer Age is less than 21.
Rules are associated with events and actions as follows:
- Events are used to trigger the rules, to define when the actions are performed. For any rules that are triggered by the same event, they will be executed in the order in which they are defined in the form model.
- Actions define what will be performed. They can be individually enabled or disabled in the rule. The actions within a rule will also execute in the order defined in the form model.
You can add and edit rules in TIBCO Business Studio Forms as described in the following sections:
- Adding a Rule Using the Outline View: To associate rules with events and actions, select the appropriate Events or Actions tab.
- Adding a Rule Using the Rule Wizard: When using the Rule wizard, you can also remove the rule.
- To select actions and events to associate with a specific rule, see Setting Rules.
Copyright © Cloud Software Group, Inc. All rights reserved.