ifelse
def ifelse = {condition, a, b ->
xxx
}
If condition is true, returns a. Otherwise, returns b.
Example
"SM_Crew_Assignment__c": "ifelse(payload.fields.svmx_crew == null, false, true)"
Sample Transforms
Original Fields
Transformed Fields
Name
Value
Name
Value
svmx_crew
null
SM_Crew_Assignment__c
false
svmx_crew
not null
SM_Crew_Assignment__c
true
For more information:
concat
escape
Was this helpful?