Discussion

Automate the code movement

Is it possible to Automate the code movement, that is if a rule is available in two different rule sets ( rules which are circumstanced), if we modify the rule in one rule set is it possible to move the change to the other rule set automatically(same for circumstanced).????

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

October 18, 2012 - 6:04am

As far as I am aware it is not possible

November 3, 2012 - 8:21am

 

You can do this with Copy/Move/Merge RuleSet tool that is available in Pega Button > System >Tools > Refactor RuleSets > Copy/Move/Merge RuleSet

 

Thanks

Kartheepan.

November 26, 2012 - 2:09pm

This can be achieved by creating a activity for the same but can not be run through Pega OOB functionality.Its a kind of wired requirement!!

Steps:

1. Two rule key will be different . so create an activity(i/p params rule type ), This activity should be created in a rule-set which do inherite all the rule-sets you intends to search for.To refine the search take rule set names as i/p param as well.

2.Check for the most updated Rule(your reference field should be pyRuleName,pyRuleSet,pxUpdateDateTime,pyRuleAvailable,pzInsKey.

3. Update all other same reference rule with the most updated one.

4.Run this activity through an agent periodically/as per your need.