go to post Thomas Haig · Aug 21 The idea was the Parameter was in the routing rule itself, this way the function getFunctionValue would be run at compile time (as it's value won't change) rather than running it each time within the rule definition.e.g.Class MyRoutingRule Extends RuleDefinition { Parameter myClassParameter = {#class(FunctionSet).GetFunctionValue()}XData RuleDefinition { //use myClassParameter in here} }I thought I'd also tried using the $parameter function as well, but perhaps I have to specify the class name as the first argument, even if the class is itself?Thanks.
go to post Thomas Haig · Aug 21 Hi Enrico,It is in the list of functions, however I realised I have tagged the wrong version as I'm on a much older version of the Ensemble Rule Editor. I was going to use it to get a pre-compiled parameter based on either a global or a function.Thanks.