ServiceNow
Signature
Helper | nodeHelper |
Signature |
(tableName: String, key: String, value: String) |
Description |
Helps to get a value of type reference. |
Introduced in | 5.0.17 |
Example use
Sync the Request field in a Request Item
requestItem.request = nodeHelper.getReference("sc_request", "number", "REQ0000001")?.sys_id
Signature
Helper | nodeHelper |
Signature |
(nodeHelper.getReference( entityType: String, fieldName: String, fieldValue: String ) |
Description |
Helps to get a value of type reference. |
Introduced in | 0.5.0 |
Example use
Sync any field of the Salesforce object. In this case we sync the User object and get reference of the Sender Email field from this object.
replica.email = nodeHelper.getReference( Account, OwnerId, entity.OwnerId).SenderEmail
Salesforce
Signature
Helper | nodeHelper |
Signature |
(nodeHelper.getReference( entityType: String, fieldName: String, fieldValue: String ) |
Description |
Helps to get a value of type reference. |
Introduced in | 0.5.0 |
Example use
Sync any field of the Salesforce object. In this case we sync the User object and get reference of the Sender Email field from this object.
replica.email = nodeHelper.getReference( Account, OwnerId, entity.OwnerId).SenderEmail |