Show TOC

Procedure documentationCreating a Flow Ruleset Locate this document in the navigation structure

 

A flow ruleset is a ruleset that allows you to group business rules that need to be executed as in a flow chart. It always has one flow, designated as main flow, besides possibly many other rule flows.

Procedure

  1. In the Project Explorer view, expand the rules composer DC node and in the context menu of the Rules Modeling node, choose New Flow Ruleset.

  2. In the dialog box that appears, enter the name of the flow ruleset in the field.

  3. Choose OK.

    Note Note

    A flow ruleset name should not:

    • Match with any ruleset name in the rules composer DC

    • Match with the rules composer DC name

    • Contain non alphanumeric characters

    End of the note.

In the Project Explorer view, the flow ruleset node appears under the Rules Modeling node.

Double-click the flow ruleset node to open the flow ruleset editor.

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 :

  • Web Service: This option allows you to expose the flow ruleset as a web service.

  • Clone: This option allows you to create a copy of the flow ruleset.

  • Generate Report: This option allows you to publish a report on the contents of the flow ruleset in text format.

    More Information: Generating a Report

  • Delete: This option allows you to permanently remove a flow ruleset from the rules composer DC.

  • Validate: This option allows you to validate the contents of the ruleset.

The Flow Ruleset Editor

The flow ruleset 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 rule 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 within a flow ruleset

  • Aliases: This tab is a link to the aliases editor, which gives an overview of all the Definition Aliases available in a flow 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 scenario editor, where you can add XML documents and definitions for test input