Mapping Functions
Mapping functions can be used to influence the field values and perform transformation on the field values.
A rich set of functions are available that allow you to concatenate, join, extract and perform various transformations on the fields. These functions are available for both Salesforce to Reltio and Reltio to Salesforce data transfer.
RELTIO TO SALESFORCE
The following table lists the mapping functions for the Reltio to Saleforce direction:
Function | Description | Example/Result |
---|---|---|
source | [uri] - Define source by *uri*. Start point for *ANY* function chain. This root source to be used in the next function steps. The function must get at least one parameter. |
|
get | [Element Id (required)] - Returns the element at the specified position in the function chain result [1..n] |
|
getExt | [Element Id (required)] - Returns the element at the specified position in the specified *source* [1..n] |
|
defaultTo | [defaultValue (required)] - Return default value in case the previous chain has returned null value |
|
compare | [valueToCompare (required), trueResult (required), falseResult (required)] - return trueResult or falseResult in depends on comparing the current result with valueToCompare. |
|
equals | [uri (required),value (required)] - filter by level up value, where the value has to be equal to URI value |
|
equalsLookup | [uri (required),value (required)] - filter by level up value, where the value have to be equals to uri value. The function checks the lookup code defined in RDM canonical value instead of the value in the Relito attribute. Note: It cannot be used after 'split function' | Result will contain all attribute values where lookupCode equals to 'M' |
notEquals | [uri (required),value (required)] - filter by level up value, where the value have not to be equals to uri value |
|
notEqualsLookup | [uri (required),value (required)] - filter by level up value, where the value have to be equals to uri value. The function checks the lookup code defined in the RDM canonical column instead of the value in the Relito attribute. Note: It cannot be used after 'split function' | Result will contain all attribute values where lookupCode not equals to 'M' |
join | [separator (required)] - join all elements by separator |
|
concat | [prefix, suffix] - concat all elements with prefix and suffix. |
|
split | [separator (required)] - split each element by separator |
|
lookupCode | Extracts the lookup code from the attribute instead of the value. |
|
uri | Extracts the entity URI |
|
SALESFORCE TO RELTIO
The following table lists the mapping functions for the Salesforce to Reltio direction:
Function | Description | Example/Result |
---|---|---|
source | [arrayOfSobjectFieldNames] - Define sources by field names. Function should get at least one parameter |
|
get | [Element Id (required)] - Returns the element at the specified position in the specified *source* [1..n] |
|
getExt | =source(FirstName,LastName).get(1) => Mile |
|
defaultTo | [defaultValue (required)] - Return default value in case the previous chain has returned null value |
|
compare | [valueToCompare (required), trueResult (required), falseResult (required)] - return trueResult or falseResult in depends on comparing current result with valueToCompare |
|
equals | [uri (required),value (required)] - filter by level up value, where the value have to be equals to uri value |
|
notEquals | [uri (required),value (required)] - filter by level up value, where the value have not to be equals to uri value |
|
join | [separator (required)] - join all elements by separator |
|
concat | [prefix, suffix] - concat all elements with prefix and suffix. |
|
split | [separator (required)] - split each element by separator |
|