Create a business rule
Create new business rules just as you create business process maps, except that, for a business rule you define the inputs and outputs. A business rule can only contain automatic activities.
Once a rule is created, you can save the rule in an unreleased (work in progress) state so that it can be modified later. However, you must release the business rule before using the rule in a process or form.
The Business rules page appears.
Clicking the New button opens a new flow rule by default.
A new business rule opens in a new browser tab.
- Configure the properties for the business rule. See Properties of a business rule.
Create variables for the business rule, and set the variables as rule inputs and outputs.
On the modeling bar of business rule, click
Variables and click
The New variable dialog box is displayed.
Name for the variable.
By default, the name of the variable becomes the ID of the variable; however, you can change the ID if needed.
- Select the variable Type, such as Date. (Default: String)
- To set the variable as input, select Input.
To set the variable as output, select
A business rule supports dynamic complex variables as input. These input variables can hold the data from a table field within a document for validation, such as in creating a running total for a column.
- Provide a Value for the variable.
The Variables page appears.
Similarly, create other variables.
By default, all the variables are sorted on Name and displayed in the ascending order. However, you can sort (ascending or descending) on the following columns: Name, ID, Type, Value, Input and Output.
To view the variables of a specific type, on the
Type filter, select the variable type, such as
Folder. (Default: All)
The variables of selected type are displayed.Type filter only contains the variable types that exist in the list for the current business rule.The
- On the modeling bar of business rule, click Variables and click New.
To set the order in which
should process the input and output variables, perform the following steps:
- Click the Input/Output order link on the Variables page. The Input/Output variables dialog box is displayed.
- Select the Input or Output tab, and use or .
- Click OK.
Add activities, decision nodes and an end node.
A business rule only supports automatic activities (except Export and Transfer); it does not support manual activities.
- Release the rule.