Triggering a child ruleset execution from a technical rule
The execution of a child ruleset can be triggered by directly calling the static method
execute of the RulesetChildRunner class in a technical rule by
using IRL.
Procedure
Add the RulesetChildRunner class and
ilog.rules.session.IlrSessionResponse to the BOM model of your rule
project.
rule mainRule {
property status = "new";
when {
String() from ?childRulesetPath;
}
then {
?result = RulesetChildRunner.execute(childRulesetPath, null).outputParameters.get("outparam_name");
}
}