DecisionExists
Syntax: DecisionExists(decisionType, decisionCode)
Arguments:
- decisionType is a string.
- decisionCode is a string.
Decision Type | Decision Codes |
---|---|
authAdvice |
Use with any feed where an authorization decision can be performed downstream from Falcon. Codes:
|
custom<AppendCustomName> |
All decision types that begin with custom are reserved for use by customers. The decision type and associated decision codes are defined by the customer. In legacy products, they were known as alerts. Codes: (customer-defined) |
origAcctBlock |
Use with any feed where an account may be blocked after processing by Falcon. Codes:
|
origAcctCase |
Use with any feed to create an account case. Code: force |
origCustCase |
Use with any feed to create a customer case. Code: force |
Return Type: Integer
Description: If any other rule created a case, the rule author may want to create an alert, decision the transaction, or update a user defined variable. This function looks at the specified decision type and code in the list of decisions made by previous rules and returns 1 if there is a decision or 0 otherwise.
Example:
if (DecisionExists("authAdvice", "approve")
and ffmFrdCard.Score > 500)
then {TriggerCase(ACCOUNT);}