604
edits
(Created page with "Within the app definition, you can create conditional statements and matchers that can return data or evaluate boolean conditions to determine the outcome. == Matchers == A matcher is an object definition that instructs the system to match a field value to another field, to a custom literal or to evaluate a conditional. The matcher always returns a value - this is the value that will be used by the schema. The example below is a matcher created with a conditional. The...") |
|||
Line 10: | Line 10: | ||
"equals": { | "equals": { | ||
"Morning": { | "Morning": { | ||
"literal": "AM" | "literal": "AM" //Returns the string "AM" | ||
}, | }, | ||
"Afternoon": { | "Afternoon": { | ||
Line 20: | Line 20: | ||
} | } | ||
} | } | ||
//Example 2 | //Example 2 | ||
"match": { | "match": { | ||
Line 26: | Line 27: | ||
"equals": { | "equals": { | ||
"Morning": { | "Morning": { | ||
"targetField": "Start_Date__c" | "targetField": "Start_Date__c" //Returns the field value from Start_Date__c | ||
}, | }, | ||
"Afternoon": { | "Afternoon": { |