Confluence has been updated to version 6.15.9

Back to  nodeHelper


SERVICENOW SALESFORCE

Signature

HelpernodeHelper
Signature

(tableName: String, key: String, value: String)

Description


Helps to get a value of type reference.

Introduced in5.0.17

Example use

Sync the Request field in a Request Item 


requestItem.request = nodeHelper.getReference("sc_request", "number", "REQ0000001")?.sys_id

Signature

HelpernodeHelper
Signature

(nodeHelper.getReference( entityType: String, fieldName: String, fieldValue: String )

Description

Helps to get a value of type reference.

Introduced in0.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

See also

How to find out the name of a field in ServiceNow

How to extract a user from a referenced field



Back to  nodeHelper