Ruleset Versions created through activity

Hi All,

I need to created one activity, which will create the ruleset versions automatically, which means if am running that activity it should automatically create ruleset versions and also lock the ruleset versions automatically.


Keep up to date on this post and subscribe to comments

November 13, 2019 - 4:18am


You need to create a declare trigger in the class Rule-RuleSet-Version. So, whenever a new instance will be created, the declare trigger will execute an activity (need to be created), which will generate another ruleset versions.


November 13, 2019 - 5:38am
Response to goela1

Why we need declare trigger here, i just run the activity manually and it should create the ruleset versions.

I have used Rule-.Save activity to create it , but still it is not creating the ruleset versions.

November 13, 2019 - 4:24am

November 13, 2019 - 8:07am

The Lock and Roll feature (Designer studio > Application > Structure > Ruleset Stack) does the same thing that I believe you are looking for, i.e., an option to lock existing RSVs and create new versions of those and update the application as well.

You can check the design of Lock & Roll button on pzCurrentRuleSetStack section to see if you can reuse it on your user portal.