How to use a Ruleflow in another Ruleflow
- Last Updated: May 3, 2021
- 3 minute read
- Corticon
- Version 7.2
- Documentation
You can reduce the complexity and testing of large Ruleflows by breaking a Ruleflow into smaller Ruleflows, and then constructing the larger Ruleflow from them. The resulting modularity simplifies unit testing and collaboration.

iSample_policy_pricing.erf canvas with four objects in sequence. The first
three apply the risk assessment rules and the other object is altogether separate Ruleflow
file, as you can see in the object's properties: 
A Ruleflow file's Properties provide settings for versioning and effective date stamping of the Decision Service that will be created. (See the topic Ruleflow versions and effective dates for details.) However, when a Ruleflow is added to another Ruleflow's canvas, it ignores its Ruleflow Properties and takes on Ruleflow Activity Properties that are local to its role as a component of another Ruleflow, as illustrated.
iSample_generate_policy.erf, contains four Rulesheets, as shown:
With these two Ruleflows, each can be updated and tested independently, and -- as long as you ensure that the Vocabulary stays consistent -- separate teams can collaborate on developing risk rules and policy rules. That makes it easy to reuse either of these Ruleflows. For example, if policy pricing varies in different markets, then you can create a new Ruleflow that brings in the same risk assessment rules to provide the data to process against a modified policy pricing Ruleflow for the other market.
The parent Ruleflow provides its own settings for versioning and effective date stamping of the Decision Service that will be created, as illustrated:
For more information, see Ruleflows