RetrieveSalesforceJobSources()

Returns a rowset that contains information about a send. The rowset contains the SourceID, SourceType, and IsInclusionSource values from the specified job ID. The function doesn’t output any information about the status of the job itself. It returns data even if the job was canceled, so we recommend that you don’t use this function to test whether a job completed.

The RetrieveSalesforceJobSources() function has one parameter:

  • jobId (number): Required. The job ID of the Salesforce send to retrieve information about.

To use this function, pass it the numeric job ID of a Salesforce send.

The function outputs the SourceID, SourceType, and IsInclusionSource values for each row in the rowset.