Rule Builder > Ruleflows > Creating a Ruleflow > Preliminary Steps

In order to carry out this sample you will first need to open the sample repository <InstallDir>/doc/docreferences/usrbuilder/data/RuleflowRepository. In this repository you will find two packages, one that corresponds to the project at the beginning of this sample, purchase transaction, and one that corresponds to the project you will end up when you have carried out the steps in this sample, purchase transaction with ruleflow. You should work in the purchase transaction package if you wish to carry out the following steps:

  1. Add a BAL rule by right-clicking the purchase transaction package and then clicking Add BAL Rule on the shortcut menu. Name it Full shopping cart and edit it as follows:
  2. If
  3.   the shopping cart is full
  4. Then
  5.   display the message The shopping cart is full
  6. Add a Parameter to the the purchase transaction package. Name it today and set its type to int and its direction to local_dir.

See Also

Adding Other Repository Elements to a Top-Level Package | Introduction to Ruleset Parameters | Ruleflow Editor


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT