new relationship(relationshipName, externalId, dataSource) → {object}
Adds a lookup relation or 'dome insert' to a record.
Parameters:
Name | Type | Description |
---|---|---|
relationshipName |
string | `__r` relationship field on the record. |
externalId |
string | Salesforce ExternalID field. |
dataSource |
string | resolvable source. |
- Source:
Returns:
- Type
- object
Example
Data Sourced Value:
relationship("relationship_name__r", "externalID on related object", dataSource("path"))
Fixed Value:
relationship("relationship_name__r", "externalID on related object", "hello world")