Example: Control when applications go to review

     SpringboardThis topic is related to Springboard.   |     Form Builder |    23.10This feature was updated in 23.10 

This example demonstrates a scenario where the Decision Framework decides what causes an application to go for review. Multiple rules can be included.

{
  "id": "Primary Applicant Review",
  "destination": "manualReview",
  "condition": {
    "or": [
      {
        "==": [ { "var": ["txn.propertyMap.alloy\\.device\\.outcome"] }, "Manual Review" ]
      },
      {
        "==": [ { "var": ["txn.propertyMap.Iovation\\.CheckTxnDetails\\.Result\\.PrimaryApplicant\\.result"] }, "R" ]
      }
    ]
  }
},
{
  "id": "Joint Applicant Review",
  "destination": "manualReview",
  "condition": {
    "==": [ { "var": ["txn.propertyMap.alloy\\.joint\\.person\\.outcome"] }, "Manual Review" ]
  }
},
{
  "id": "Manual Review Loan",
  "destination": "manualReview",
  "condition": {
    "or" : [
      {
        "==": [ { "var": ["txn.propertyMap.Application_Decision"] }, "ERROR" ]
      },
      {
        "==": [ { "var": ["txn.propertyMap.Application_Decision"] }, "NONE" ]
      },
      {
        "==": [ { "var": ["txn.propertyMap.Application_Decision"] }, "REVIEW" ]
      },
      {
        "==": [ { "var": ["txn.propertyMap.Application_Decision"] }, "STIPULATION_ERROR" ]
      }
    ]
  }
}

The Narrative used in conjunction with this set of rules could have the following terminal page definition.

{
  "name": "Review Page",
  "condition": "${ jsonSlurper.parseText( txn.propertyMap.get('decision') )['destinations']['manualReview']['isActive']}",
  "allowSubmit": true,
  "preActions": [],
  "postActions": [],
  "nextPages": []
}

Next, let's look at an example that controls when applications are declined.