< Previous

Task 3: Explore the sequencing features

You explore the different ways to finely sequence rules within a rule task.

About this task

In the previous tasks, you designed the ruleflow to chain together the different decision points of the decision service. Now, you will see how to sequence rules depending on the requirements of each rule task.

Time The task takes about 5 minutes.

Step 1: Expand the rule task features

About this task

You can configure each rule task independently according to its sequencing needs. Two important aspects to consider are:
  • The Uses/Ordering combination.
  • The Algorithm most suited for your rules.

Expand the rule task that you created to access these features:

Procedure

  1. Click the eligibilityflow ruleflow.
  2. In the display area, click the edit button.
  3. Click the eligibilitytask rule task and expand the Show More triangle at the bottom of the panel. The panel displays the following information:
    Image shows the ruleflow.

Step 2: Explore the ordering

About this task

The Uses field of eligibilitytask indicates that you designed the rule task to include the folders eligibility and duration, in that order. You can invert the order of the folders, or add individual rules to the sequence.

By default, the engine executes all the rules included in the rule task. If you want the rules to be executed in the order in which they appear under the Uses field, you set the Ordering field to Literal.

You can also implement an ordering strategy based on the priority property of the rules instead. Rules that have a higher number as priority are executed first. You can set the priority property for each rule in the Enterprise console or in Rule Designer.

Enable ordering based on rule priority as follows:

Procedure

Beside the Ordering field, select Priority.

Step 3: Explore the algorithm

About this task

Also, when designing the rule tasks of a ruleflow, you must determine which algorithm best fits the execution of the rules, as follows:
  • If the action part of the rules contained in the rule task modify the conditions, set the algorithm to RetePlus, which reevaluates the rules.
  • Otherwise, set the algorithm to Fastpath or Sequential to obtain higher performance. See the documentation for more details.
Note: Not explored in this tutorial, the Select rules where and Rule selection fields work together to provide the possibility of filtering the rules included. Also, you can set initial and final actions, or specify exit criteria.

Procedure

Close the panel and save your work.

What to do next

This tutorial is now complete. At this point you can create a decision operation that uses the new ruleflow, and then create a deployment configuration to test or deploy only the eligibility rules. Otherwise, you can delete the branch that you created, by returning to the Branches tab of the decision service, hovering over the branch name, and selecting Delete.
< Previous