def periodInverseFormat = {periodString, isMinute = false, defValue = null ->
xxx
}
|
Parameter
|
Description
|
Values
|
|---|---|---|
|
isMinute
|
Indicates whether the time unit is in minutes.
|
false
|
|
defValue
|
Default value ofnull.
|
null
|
"SVMXC__Service_Duration__c": "periodInverseFormat(payload.fields.svmx_estimated_service_duration)"
"SVMXC__Service_Duration__c": "periodInverseFormat(payload.fields.svmx_estimated_service_duration, true)",
|
Example
|
Original Fields
|
Transformed Fields
|
|||
|---|---|---|---|---|---|
|
Number
|
Property
|
Name
|
Value
|
Name
|
Value
|
|
1
|
false
|
svmx_estimated_service_duration
|
P3DT3H5M6S
|
SVMXC__Service_Duration__c
|
270306
|
|
2
|
true
|
P6M7DT17H6M
|
|||