Dan Covaliu

Getting a reference to the parent ruleset (template) at authoring time

Discussion created by Dan Covaliu on May 29, 2012
Latest reply on May 31, 2012 by Dan Covaliu



I am having trouble with the following scenario:


I have 2 ruleset templates, each using the same rule template. Somewhere in the action template in the rule, I am invoking a DB provider having a parameter. My problem is, the value of this parameter, at authoring time depends on the ruleset template to which this action template instance belongs, at the moment of rule editing. I don't know how to say in the action template "if your being edited under the ruleset template 1 the parameter is whatever1, else whatever2. I hope this is clear...


Thank you!