Show TOC

Typical WorkflowLocate this document in the navigation structure

Use

The typical workflow to model your rules using the rules composer is as shown below:

You perform the following steps to model rules:

  1. Create a rules composer development component

    You create a rules composer development component to model your rules in it.

  2. Configure the rules composer DC

    You need to configure the rules composer DC with the business terms you will use to model your rules. You can either have the business terms in an XML schema or in the form of Java classes. You then add the XML schema and the Java classes to the rules composer DC. You can also use the Definitions feature to create business terms.

    For more information, see Creating and Configuring a Rules Composer DC

  3. Create a ruleset

    You create a ruleset to group business rules that govern a specific function.

    For more information, see Creating a Ruleset

    • Create if-then rules

      You can write rules in the form of If-Then statements.

      For more information, see Creating an If-Then rule

    • Create decision tables

      You can capture a number of structurally similar rules in a decision table.

      For more information, see Create a Decision Table

    Also see: Building Rules

  4. Create a flow ruleset

    You create a flow ruleset to group business rules that need to be executed in a pre-determined sequence.

    For more information, see Create a Flow Ruleset

    • Create rule flows

      You create a rule flow to sequence the steps for evaluating business rules

      For more information, see Working with a Rule Flow

    • Create rule scripts

      A rule script is a step within a flow, and comprises a set of actions executed in a sequence of steps

      For more information, see Working with a Rule Script

  5. Test the rules

    After you model your rules, you can test the correctness of your rules using simulated data.

    For more information, see Testing Rules

  6. Deploy the rules

    After you test your rules, you need to build and deploy rules to the SAP AS.

    For more information, see Deploying Rules

  7. Execute the rules

    You can Integrate the rule engine with applications.

    For more information, see Executing Rules

More Information