How to create samples of versioned Ruleflows
- Last Updated: October 26, 2026
- 3 minute read
- Corticon
- Version 7.3
- Documentation
The Ruleflows in this section are based on Rulesheet variations of a single rule. Notice that the only difference between the three Rulesheets is the threshold for the age-dependent rules (columns 2 and 3 in each Rulesheet). The age threshold is 35, 45, and 55 for Version 1, 2 and 3, respectively. This variation is enough to illustrate how the Corticon Server distinguishes Versions in runtime. The Vocabulary here is the lifePolicy.ecore, located in the Training/Advanced project.
There is more than one Ruleflow with the same name and differing versions, so first a File > New Folder placed a Version1 folder in the project. Then Rulesheet was created for defining the policy risk rating that considers age 35 as a decision point, as shown:
A new Ruleflow was created that added the Version1 skydiver4.ers Rulesheet to it. Then, the Major version was set to 1 and the Minor version to 0. The label Thirty-five was entered to express the version in natural language.
After saving both files, right-click on the Version1 folder in the Projects tab, and then choose Copy. Right-click Paste at the Advanced folder level, naming the folder Version2. Repeat to create the Version3 folder. Your results look like this:
Note: In the examples in this section, the Ruleflows, Deployment Descriptor, and Decision Services names are elaborated as _dates and _noDates just so that you can deploy both versioned and effective-dated Decision Services at the same time.
The Rulesheets and Ruleflows in the copied folders were edited as shown, first for Version2:
And then for Version 3: