Hi again, we voted for the feature and in the meantime, we’re exploring alternative solution using IlrSessionInterceptor.
According to the doc (Ruleset interceptors - IBM Documentation) IlrSessionInterceptor can be used to Augment input parameters, so we’re are trying to add and additional input parameter “snapshot” (declared in the ruleset) with the value of the property "decisionservice.branch.name".
In the method IlrSessionInterceptor .beforeExecute(IlrInterceptorContext context) is not possible because context.getRuleAppInformation() returns null. The documentation says “Returns RuleApp information. This object is loaded on demand by means of a management session.” Is not very clear what dees it mean, but allways returns null.
However, in the method transformRsPath(IlrPath path, IlrRuleAppInformation rappinfo, Serializable userData, Map<String, Object> parameters, IlrSessionFactory factory) is possible to get the snapshotName. But after adding “snapshot” to the request parameters argument of this method, it is simply ignored (it is not send as input parameter to the execution).
How can be used the IlrSessionInterceptor to augment input parameters?
@Alain Robert do you think we get to the objective following this approach?