The Ruleflow editor allows you to create and edit ruleflows for sequencing rule execution.
To open the Ruleflow Editor:
The Ruleflow Editor comprises a Diagram page with a specialized toolbar.
Diagram Page
You define the ruleflow structure by adding the ruleflow elements, which are available from the Ruleflow menu or from the toolbar.
Ruleflow Toolbar and Menu
In the Diagram page use the Ruleflow toolbar or Ruleflow menu to create and edit ruleflow elements.
Table 24 Icons in the Ruleflow Editor Toolbar
Icon |
Description |
|
Insert a start point in the ruleflow. |
|
Insert a task in the ruleflow. You can edit the task by selecting it in the Rule Explorer and using the Task page. |
|
Insert a function task in the ruleflow. You can edit the task by selecting it in the Rule Explorer and using the Task page. |
|
Create a transition in the ruleflow. |
|
Insert a decision node in the ruleflow. |
|
Create a fork in a ruleflow. |
|
Insert a joining function in a ruleflow. |
|
Insert an end point in a ruleflow. |
Ruleflow Editor Dependencies
Displays a list of imports for BOM classes used in the various IRL code editors of the ruleflow for the following:
-
Task initial actions
-
Final actions
-
The function task body
-
Transition
Related Concepts
Related Reference
Ruleflow Editor Task
Used to create and edit a task in a ruleflow. Depending on the type of the task, the following are available.
Ruleflow
The following are available when you select the ruleflow in the outline or when you select a start point or an end point in the diagram.
Table 25 Ruleflow sections in the Ruleflow Editor Task
Section |
Function |
General information |
Provides information about the task, such as the task name. |
Documentation |
Specific information about the task. |
Initial action |
Action launched before the task starts. |
Final action |
Action launched after the task has ended. |
Rule Task
The following are available when you select the rule task in the ruleflow.
Table 26 Rule Task sections in the Ruleflow Editor Task
Section |
Function |
General information |
Provides information about the task, such as the task name. |
Documentation |
Specific information about the task. |
Rule Selection |
Lists the rules and rule packages that will be considered when the rule task is executed. You can edit this list and re-order it using the Up and Down buttons. |
Runtime Rule Selection |
Business rule expression used to filter the rule to take into consideration during execution of the task.
You can turn Dynamic on to re-evaluate this expression each time the task is executed. If Dynamic is off the expression is evaluated once. |
Initial action |
Action launched before the task starts. |
Final action |
Action launched after the task has ended. |
Function Task
The following are available when you select the function task in the ruleflow.
Table 27 Function Task Sections in the Ruleflow Editor Task
Section |
Function |
General information |
Provides information about the task, such as the task name. |
Documentation |
Specific information about the task. |
Function Code |
Business rule code that is evaluated when the task is executed. |
Initial action |
Action launched before the task starts. |
Final action |
Action launched after the task has ended. |
Ruleflow Editor Transition
Describes the nature and the condition of the transition with the label:
| Note |
When if is selected, you need to provide a business rule expression. The execution will follow this transition when the expression is evaluated as true.
|
Related Concepts
Related Tasks
Related Reference
Related Samples and Tutorials