Bulk Update Associated RuleSet for Relevant records

When classes and properties are created in the branch (and properties are marked as relevant), the ruleset of relevant records after branch merge is not updated, the ruleset stays set to branch ruleset…
Relevant records are pre-requisites for many things - availability in appstudio, global search… and therefore need to be packaged (be part of deployments) => the only way to include relevant records is by ruleset => hence it is important the ruleset is correct post merge…

you can use an activity rule to bulk update associated rule set for relevant records..below is example activity..

@baseclass.UpdateAssociatedRuleSet. (two input params: 1.OldRuleSet 2.NewRuleSet)

Data-Tag-RelevantRecord.UpdateAssociatedRuleSet (one input param: NewRuleSet)