You model the sequence for the execution of rules in the rule flow editor. The rule flow editor has a Palette that consists of rule flow elements using which you model the sequence for the execution of rules.
Here is a snap shot of the rule flow editor:
Locate the flow ruleset (Where is my Flow Ruleset?) , expand the flow ruleset node, the Rule Flows node and double-click a rule flow node.
The flow editor appears with the Start and End points by default. The Palette appears on the right.
If you do not see the Palette , choose the Show Palette icon.
The Palette Elements
Creating an Activity
You create an activity the following elements in a rule flow:
Usage
In the Palette , choose the Activities button and in the menu that appears choose a rule flow element
Drag and drop the rule flow element into the flow editor.
You can also drag and drop the respective node from the Project Explorer view into the flow editor.
The activity appears in the flow editor.
Choose the activity and in the Properties view, choose an element name in the drop down menu.
If you do not see the Properties view, choose
In the dialog box that appears, expand the General node and choose Properties . Choose OK .
Creating a Gateway
You create an exclusive choice gateway to define condition or decision branches.
If percentage is greater than or equals 35
When the condition above gets satisfied the subsequent element in the rule flow get evaluated.
Usage
In the Palette , choose the Gateway button and in the menu that appears choose Exclusive Choice .
Drag and drop the into the flow Editor.
Choose the exclusive choice gateway and in the icons that appear choose the Create Connection icon.
Drag and drop the connection to an activity or gateway.
Choose the exclusive choice gateway and in the Properties view, you can do the following:
Choose the Definitions tab and create a Definition in the editor.
Choose the Actions tab and add actions in the editor.
Choose the Conditions tab and add conditions in the editor.
Creating an End Point
You create an end point to end the rule flow sequence.
Usage
In the Palette , choose the End Points button and in the menu that appears choose End .
Drag and drop the End Point into the flow editor.
The End point appears in the flow editor.
You can have more than one End Point in the flow editor.
Creating Connections
You use the connector and connect all the rule flow elements you created.
UsageIn the Palette , choose the Connections button and in the menu that appears choose Sequence Flow .
Choose the Start point and in the icons that appear choose the Create Connection icon.
Drag and drop the connection to an activity or gateway.
Make sure you connect everything right from the Start point till the End point.
Creating an Annotation
You can add notes describing the rule flow elements.
UsageIn the Palette , choose the Artifacts button and in the menu that appears choose Annotation .
Drag and drop the annotation into the flow editor.
Choose the annotation and enter text in the space provided.
In the Palette , choose the Connections button and in the menu that appears choose Assosiation .
Choose an annotation in the flow editor and in the icons that appear, choose Create Connection .
Drag and Drop the connection to an activity or gateway.
In the Palette , choose Select and in the flow editor choose a flow element or a connection.
In the Palette , you can also choose Marquee and choose a flow element in the flow editor.
In the context menu of each flow element in the flow editor, you should see the following options:
Update
Delete
Auto Layout Flow Elements
Auto Layout Connection
Save as image