(非推奨) プロジェクトの完全性検査の実行
完全性分析では、ルール・セットが完全であることを検査し、欠落しているルールがある場合にはレポートを生成します。
ルールの完全性の分析は、V8.9.0 では非推奨になりました。このフィーチャーは、本製品の将来のリリースでは削除されます。マイグレーションについて詳しくは、非推奨フィーチャー を参照してください。
完全性メカニズムは、ルール・セットの各ルールの条件部分を分析し、ルールが適用されないケースがあるかどうか検出します。 レポートは、既存の任意のクエリーを基準にすることができます。クエリーを指定しない場合は、プロジェクト内のすべてのルールを基準にすることができます。
完全性分析は以下のように行われます。
ルール・プロジェクトにルール・フローが含まれる場合は、完全性メカニズムはルール・フロー内の各ルール・タスクが完全であるかどうかをチェックします。 例えば、複数のルール・タスク内であるルールが欠落している場合、レポートは欠落しているルールを表示し、そのルールが欠落しているルール・タスクをリストします。
ルール・プロジェクトにルール・フローが含まれない場合は、完全性メカニズムはプロジェクト内のすべてのルールをチェックします。
完全性分析を実行するには、次の手順に従います。
「分析」タブを選択して、「プロジェクトの完全性のチェック」をクリックします。
例
次の例では、プロジェクトには 5 つのルールが含まれています。これらのルールは「顧客」を定義し、「顧客」のカテゴリーをシルバー、プラチナ、またはゴールドに設定します。
ルール 1
if the value of the customer is at least 500 and the value of the customer is less than 1000 then set the category of the customer to "Silver";
ルール 2
if the age of the customer is at least 65 and the value of the customer is less than 500 then set the category of the customer to "Platinum";
ルール 3
if the value of the customer is at least 1000 and the value of the customer is less than 1500 then set the category of the customer to "Gold";
ルール 4
if the value of the customer is at least 1500 then set the category of the customer to "Platinum";
ルール 5
if the value of the customer is less than 500 and the age of the customer is less than 50 then set the category of the customer to "Platinum";
顧客の年齢が 50 から 65 の間で、値が 500 未満の場合、完全性分析は適用されるルールがないことを検出します。
この欠落しているケースはレポートでルール・スケルトンとして表示されます。
definitions
set 'Customer1' to a customer ;
if
the value of Customer1 is less than 500
and the age of Customer1 is less than 65
and the age of Customer1 is at least 50
then
<action>