×
Menu
Index

Categories

 

Introduction

You can add Categories to your Configurations to suppress the execution of certain Tools for performance reasons. Suppose you have Configurations that process XML documents for several reasons but they share lots of Functions and Tools with each other.  If you, for example , calculate insurance premiums for comparing carriers, then you need to have only the correct premium elements and a fast response. When the customer requests an insurance product and makes some alterations, you need to calculate the premium again, but you probably need a lot more elements to fulfill the request process. In that case you can use the same Functions twice, but use a different Category.
 
Every Tool in SoftRules® has a Category selection box.
 
In the above example we see an Assignment in a Global Configuration with 2 Categories (Comparison and Request).
 
If none of the 2 Categories are checked, the Assignment with execute always. If the Comparison Category is checked, the Assignment will execute only on requests that enter SoftRules® through an In Adapter with the Comparison Category checked or an In Adapter that's having all Categories unchecked.
 
 
If the request enters SoftRules® through an In Adapter that has only the Request Category checked, the above Assignment will not execute.
 

Code

The code of the Category.
 

Description

The Category description.
 
See also here.