テクニカル・ルールからの子ルール・セット実行のトリガー
子ルール・セットの実行は、IRL を使用して、テクニカル・ルールで RulesetChildRunner クラスの静的メソッド execute を直接呼び出すことによって、トリガーできます。
手順
ルール・プロジェクトの BOM モデルに、RulesetChildRunner クラスおよび ilog.rules.session.IlrSessionResponse を追加します。
rule masterRule {
property status = "new";
when {
String() from ?childRulesetPath;
}
then {
?result = RulesetChildRunner.execute(childRulesetPath, null).outputParameters.get("outparam_name");
}
}