Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# 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:

Event:
`CustAge updated`
Action:
`GuardianName.Required = (CustAge < 21)`

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.
  Note: Business analysts can add rules, edit their general properties and descriptions, and add events. They cannot create new actions, but they can re-use the already defined shared actions.

You can add and edit rules in TIBCO Business Studio - Cloud BPM Edition 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.

Subtopics

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.