Task 1: Creating a ruleflow
You create a ruleflow and define its structure.
About this task
Step 1: Importing and running the ruleflow tutorial
Before adding the ruleflow, you must import the start projects for the ruleflow tutorial.
Before you begin
Procedure
Results
The Console view displays the output, which shows how the rule applies to customer Alice Boorman:
set price of standard offer for the Rental Agreement for Alice Boorman (Nov 19, 1992) Add surcharge of 2 for PEI Add surcharge of 25 for CDW [FullSize,Luxury,SportUtility,Minivan] In Rhode Island state, customer must be 25 or more to rent a car
This customer cannot rent a car because of age restrictions in the state of Rhode Island. However, the rules still compute prices for the customer. In this tutorial, you create a ruleflow that only applies the pricing rules if the customer passes the eligibility rules.
Step 2: Creating a new ruleflow
You can now add the ruleflow to a new rule project package.
Procedure
Results
Step 3: Defining the ruleflow structure
You define a ruleflow structure by adding ruleflow elements to the ruleflow and defining the relationship between them. The ruleflow that you create in this tutorial has a start node, an end node, and two rule tasks with transitions between them.
Procedure
Results
The ruleflow now has the following structure.

The warning icons indicate that you must define the rule tasks.
What to do next
eligibility
rule task.