Case Creation Rule Example
This example rule creates a case for a questionable authorization attempt.
The rule is written in the Decision Ruleset of the
Credit 2.5 Authorization-Posting project.
Rule Narrative
If an authorization attempt is made for $1 from a gas station pump, and the score is 750 or higher, then create a case.
Rule Code
In the Free Form Editor, this rule can be written as follows:
if (CRTRAN25.transactionAmount = 1 and
CRTRAN25.mcc = "5542" and
ffmFrdCard.Score >= 750)
then TriggerCase(ACCOUNT);
Components
Conditional statements:
CRTRAN25.transactionAmount = 1
is a numeric comparison between the converted transactionAmount value and 1.CRTRAN25.mcc = "5542"
is a string comparison between the incoming transaction's merchant category code (CRTRAN25.mcc
) and the string value"5542"
.Note: Quotation marks are required for string values.ffmFrdCard.Score >= 750
is a numeric comparison between the incoming transaction's fraud score and 750. Numeric values do not need quotation marks.
Action statement:
- The
then portion of the rule consists of a single action, which calls the
TriggerCase function. You must supply the case level, for example,
CUSTOMER
,ACCOUNT
, orSERVICE.
Data Fields:
-
CRTRAN25.mcc
provides the merchant category code, which is the SIC (Standard Industrial Classification) code for the type of merchant business. -
ffmFrdCard.Score
stores the score value provided by the Falcon Server. - CRTRAN25.transactionAmount specifies the transaction amount.
Operators:
and
links conditions, all of which must be true for the rule to execute.
Function:
- TriggerCase sends a message to create a case in the Case Manager.