Task 3: Exploring the sequencing features
In this task, 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 look at how to sequence rules depending on the requirements of each rule task.
Step 1: Expanding the rule task features
In this step, you configure each rule task according to its sequencing.
Before you begin
- The Uses/Ordering combination.
- The Algorithm most suited for your rules.
Expand the rule task that you created to access these features.
Procedure
- Click the eligibilityflow ruleflow.
- In the display area, click the edit button.
-
Click the
eligibilitytaskrule task and expand the Show More triangle at the bottom of the panel.The panel displays the following information:
Step 2: Setting the ordering by priority
In this step, you set the order for running rules.
Before you begin
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 runs all the rules included in the rule task. If you want the rules to be run 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 run first. You can set the priority property for each rule inRule Designer.
Procedure
Step 3: Selecting an algorithm
In this step, you determine which algorithm best fits the running of the rules.
Before you begin
RetePlus, which reevaluates the rules. Otherwise, set the algorithm to
Fastpath or Sequential to obtain higher performance. Procedure
- In the Algorithm field, select RetePlus.
- Close the panel and save your work.
Results
You have completed the tutorial. It showed you how to create a decision operation that uses the new ruleflow, and a deployment configuration to test or deploy only the eligibility rules.
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.