A Flow Ruleset is a ruleset that allows you to capture business rules that need to be executed in a pre-determined sequence.
It is a collection of Definitions , If-Then rules, Decision Tables and one or more flows that determine the sequence in which the rules and Decision Tables are to be executed.
In the Project Explorer view, expand the process composer DC node and the Process Modeling node and in the context menu of the Rulesets node, choose New Flow Ruleset
In the dialog box that appears, enter the name of the Flow Ruleset in the field.
Choose OK .
A Flow Ruleset name should not:
Match with any ruleset name in the process composer DC
Match with the process composer DC name
Contain non alphanumeric characters
The namespace is predefined and it is the namespace of the development component (DC) that contains your project.
Locate Return type and choose a return type in the drop down menu.
By default, the drop down menu displays all the XSD types. You can also import XSD files and use them as a return type.
More Information :
The return type of a ruleset should be either primitive XSD or should match with the parameter type.
Choose Add to add parameters.
Choose the default value in the Type column and choose a type in the drop down menu.
You can choose the parameter's name in the Name column and rename the parameter.
Choose Finish .
In the Project Explorer view, the Flow Ruleset node appears when you expand the Rulesets node.
Double-click the Flow Ruleset node to open the Flow Ruleset editor.
The FlowRuleset Editor
The FlowRuleset editor has tabs such as:
Overview : This tab page allows you to create Rule Flows, Rule Scripts, Decision Tables, If-Then Rules.
Rule Flows : This tab is a link to the Flow Editor, where you can edit Rule Flows.
Definitions : This tab is a link to the Definition editor, where you can create and edit Definitions.
Aliases : This tab is a link to the aliases editor, which gives an overview of all the aliases available in a ruleset.
Rules : This tab is a link to the rule editor, where you can edit If-Then rules.
Decision Tables : This tab is a link to the Decision Table editor, where you can edit Decision Tables.
Rules Scripts : This tab is a link to the Rule Script Editor, where you can add local variables and actions.
Test Scenario : This tab is a link to the test case editor, where you can add XML documents and Definitions for test input
In the context menu of the Flow Ruleset node, there are options to create Flow, Rule Script, If-Then rule and Decision Table. Additionally there are options such as :
Open : This option allows you to open the Flow Ruleset editor
Delete : This option allows you to permanently remove a Flow Ruleset from the rules composer DC.
Compare With : This option allows you to compare Flow Rulesets
More Information: Comparing Aliases and Rulesets