You are here: Reference > Rule types > About Collection rules

About Collection rules

  1. About 
  2. New 
  3. Rules 
  4. Pre / Post Actions 
  5. Parameters 
  6. Pages & Classes 
  1. Specifications 
  2. History 

Use a collection to model business logic and implement common rule engine patterns. Collections define an ordered sequence of rules, the conditions under which they execute, and post-processing steps known as response actions. The business-friendly options on this form help you to quickly develop flexible solutions that are easily understood by various audiences.

Where referenced

Collections can be called by a Collect instruction in an activity or a step in another collection rule. Collections can also be associated with specifications.

Access

Use the Application Explorer to access collections that apply to a specific class in your application. Use the Records Explorer to list all collections available to you.

Enable the Declare Collections setting to view collections output in a Tracer session.

Viewing the Java code of a rule

Click Actions > View Java to view the generated Java of a rule. You can use the Java code to debug your application or to examine how rules are implemented.

Category

Collection rules are instances of the Rule-Declare-Collection class. They are part of the Decision category.