Records the output of Rule Engine including rule evaluation and actions result.
| JSON representation | 
|---|
{ "documentName": string, "ruleEvaluatorOutput": { object (  | 
            
| Fields | |
|---|---|
documentName | 
              
                 
 name of the document against which the rules and actions were evaluated.  | 
            
ruleEvaluatorOutput | 
              
                 
 Output from Rule Evaluator containing matched, unmatched and invalid rules.  | 
            
actionExecutorOutput | 
              
                 
 Output from Action Executor containing rule and corresponding actions execution result.  | 
            
RuleEvaluatorOutput
Represents the output of the Rule Evaluator.
| JSON representation | 
|---|
{ "triggeredRules": [ { object (  | 
              
| Fields | |
|---|---|
triggeredRules[] | 
                
                   
 List of rules fetched from database for the given request trigger type.  | 
              
matchedRules[] | 
                
                   
 A subset of triggered rules that are evaluated true for a given request.  | 
              
invalidRules[] | 
                
                   
 A subset of triggered rules that failed the validation check(s) after parsing.  | 
              
InvalidRule
A triggered rule that failed the validation check(s) after parsing.
| JSON representation | 
|---|
{
  "rule": {
    object ( | 
              
| Fields | |
|---|---|
rule | 
                
                   
 Triggered rule.  | 
              
error | 
                
                   
 Validation error on a parsed expression.  | 
              
ActionExecutorOutput
Represents the output of the Action Executor.
| JSON representation | 
|---|
{
  "ruleActionsPairs": [
    {
      object ( | 
              
| Fields | |
|---|---|
ruleActionsPairs[] | 
                
                   
 List of rule and corresponding actions result.  | 
              
RuleActionsPair
Represents a rule and outputs of associated actions.
| JSON representation | 
|---|
{ "rule": { object (  | 
              
| Fields | |
|---|---|
rule | 
                
                   
 Represents the rule.  | 
              
actionOutputs[] | 
                
                   
 Outputs of executing the actions associated with the above rule.  | 
              
ActionOutput
Represents the result of executing an action.
| JSON representation | 
|---|
{
  "actionId": string,
  "actionState": enum ( | 
              
| Fields | |
|---|---|
actionId | 
                
                   
 id of the action.  | 
              
actionState | 
                
                   
 state of an action.  | 
              
outputMessage | 
                
                   
 Action execution output message.  | 
              
State
Represents execution state of the action.
| Enums | |
|---|---|
UNKNOWN | 
                The unknown state. | 
ACTION_SUCCEEDED | 
                state indicating action executed successfully. | 
ACTION_FAILED | 
                state indicating action failed. | 
ACTION_TIMED_OUT | 
                state indicating action timed out. | 
ACTION_PENDING | 
                state indicating action is pending. |