Intake Success Screen Management Input

Input representation of the success-screen configuration for a referral intake form, including the default message and any conditional message rules.

JSON Example 

1{
2  "defaultMessage": {
3    "heading": "Thanks for your referral",
4    "subtitle": "A specialist will contact you within one business day.",
5    "subtitleFormat": "plainText"
6  },
7  "messageRules": [
8    {
9      "ruleLabel": "Mortgage referrals",
10      "criteria": {
11        "logicalExpression": "0",
12        "triggerConditions": [
13          {
14            "apiName": "Referral_Product__c",
15            "operator": "Equals",
16            "value": "Mortgage",
17            "sequence": 1
18          }
19        ]
20      },
21      "message": {
22        "body": "Your mortgage referral was received.",
23        "format": "plainText"
24      }
25    }
26  ]
27}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
defaultMessageReferral Form Configuration Success Message Management InputDefault message that’s shown on the success screen when no message rule matches.Optional67.0
messageRulesReferral Form Configuration Success Message Rule Management Input[]Ordered list of message rules that are evaluated when the form is submitted. The list order is the evaluation order, and the first rule whose criteria matches is shown.Optional67.0