To generate status values, configure an action with the
status value
option.
For example, you might work for a bank that monitors the account status of its account holders on a daily basis. You define a rule statement that returns the predefined status value
Invalid
for accounts that are overdrawn and returns the
Valid
status value for other accounts. You can add the rule specification to a profile and configure the profile to generate metrics for the status values.
Select a rule set in a rule specification.
In the rule set properties, click
Rule Logic
.
Click
Add Rule Statement
.
Select an input for the rule statement.
If the rule specification does not contain an input that you can use, create an input. Configure the input properties to represent the type of column that contains the business data.
Select an operator to validate the results of the condition analysis.
To evaluate whether the account balances are below zero, select the following operator:
is greater than or equal to
Enter the value to compare to the data in the Input field. In this case, enter the digit 0.
The condition evaluates whether the input field contains positive or negative values.
Select the type of action to apply to the data that satisfies the condition logic.
To return a status value that represents the result of the condition, select the following action type:
status value
Select the status value to return when the input data satisfies the condition. In this case, select
Valid
.
Define an action to perform when no rule statement is valid.
To return a status value that represents the result of the condition, select the following action type:
status value
Select the status value to return when the input data does not satisfy the earlier condition. In this case, select