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:
-
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:
If
the shopping cart is full
Then
display the message The shopping cart is full
-
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
|