Reference > Rule Studio User Interface > Editors and Views > Ruleflow Editor

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 
images/Start_point_icon.png  
Insert a start point in the ruleflow. 
images/Create_rule_task_icon.png  
Insert a task in the ruleflow. You can edit the task by selecting it in the Rule Explorer and using the Task page. 
images/Create_function_task.png  
Insert a function task in the ruleflow. You can edit the task by selecting it in the Rule Explorer and using the Task page. 
images/Create_transition_icon.png  
Create a transition in the ruleflow. 
images/Create_transition_node_icon.png  
Insert a decision node in the ruleflow. 
images/Create_fork_icon.png  
Create a fork in a ruleflow. 
images/Create_join_icon.png  
Insert a joining function in a ruleflow. 
images/Create_end_point_icon.png  
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:

Related Concepts

Business Object Model (BOM)

Related Reference

Ruleflow Editor

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

Ruleflows

Related Tasks

Working with Ruleflows

Related Reference

Ruleflow Diagram Toolbar
Ruleflow Editor Dependencies
Ruleflow Editor Task
Ruleflow Editor Transition

Related Samples and Tutorials

Tutorial: Creating Your First Ruleflow