Versioning policy options

You use versioning options to control how RuleApp, ruleset, resource, and library versions are numbered and replaced.

RuleApp version numbering is different depending on whether the RuleApp in the selected archive file exists in the server memory:
  • If the RuleApp does not exist, it is deployed to Rule Execution Server with the version number 1.0, irrespective of the selected deployment policy.
  • If the RuleApp already exists, it is deployed according to the versioning policy.

Here are examples that show the results of each versioning option.

Increment RuleApp major version

The following example shows the result after deployment if you select this option.

Deployed RuleApp RuleApp to be deployed Result after deployment
/RuleApp/1.0
  /ruleset/1.0
  /ruleset/2.0
/RuleApp/1.0
  /ruleset/1.0
/RuleApp/1.0
  /ruleset/1.0
  /ruleset/2.0
/RuleApp/2.0
  /ruleset/1.0
Increment RuleApp minor version

The following example shows the result after deployment if you select this option.

Deployed RuleApp RuleApp to be deployed Result after deployment
/RuleApp/1.0
  /ruleset/1.0
  /ruleset/2.0
/RuleApp/1.0
  /ruleset/1.0
/RuleApp/1.0
  /ruleset/1.0
  /ruleset/2.0
/RuleApp/1.1
  /ruleset/1.0
Replace RuleApp version

The following example shows the result after deployment if you select this option.

Deployed RuleApp RuleApp to be deployed Result after deployment
/RuleApp/1.0
  /ruleset/1.0
  /ruleset/2.0
/RuleApp/1.0
  /ruleset/1.0
/RuleApp/1.0
  /ruleset/1.0
  
Increment rulesets major version

The following example shows the result after deployment if you select this option.

Deployed RuleApp RuleApp to be deployed Result after deployment
/RuleApp/1.0
  /ruleset/1.0
  /ruleset/2.0
/RuleApp/1.0
  /ruleset/1.0
/RuleApp/1.0
  /ruleset/1.0
  /ruleset/2.0
  /ruleset/3.0
  
Increment rulesets minor version

The following example shows the result after deployment if you select this option.

Deployed RuleApp RuleApp to be deployed Result after deployment
/RuleApp/1.0
  /ruleset/1.0
  /ruleset/2.0
/RuleApp/1.0
  /ruleset/1.0
/RuleApp/1.0
  /ruleset/1.0
  /ruleset/2.0
  /ruleset/1.1
  
Replace rulesets versions

The following example shows the result after deployment if you select this option.

Deployed RuleApp RuleApp to be deployed Result after deployment
/RuleApp/1.0
  /ruleset/1.0
  /ruleset/2.0
/RuleApp/1.0
  /ruleset/1.0
/RuleApp/1.0
  /ruleset/1.0
  /ruleset/2.0
  
Increment resources major version

The following example shows the result after deployment if you select this option.

Deployed resource Resource to be deployed Result after deployment
/resource/1.0
/resource/1.0
Note: The checksum is different from the one in the Deployed resource column.
/resource/1.0
/resource/2.0
  
Increment resources minor version

The following example shows the result after deployment if you select this option.

Deployed resource Resource to be deployed Result after deployment
/resource/1.0
/resource/1.0
Note: The checksum is different from the one in the Deployed resource column.
/resource/1.0
/resource/1.1
  
Increment libraries major version

The following example shows the result after deployment if you select this option.

Deployed library Library to be deployed Result after deployment
/library/1.0
/library/1.0
/library/1.0
/library/2.0
  
Increment libraries minor version

The following example shows the result after deployment if you select this option.

Deployed library Library to be deployed Result after deployment
/library/1.0
/library/1.0
/library/1.0
/library/1.1