Forum Discussion

NAl's avatar
NAl
Contributor
5 years ago
Solved

How to access Record Id after Salesforce Create Snap

Hi there, I am trying to access the newly created record Id by in a Mapper Snap based on the information that is collected in a Salesforce Poller Snap. Unfortunately when I try to stipulate Id it r...
  • SpiroTaleski's avatar
    5 years ago

    @NAl

    Are you using Salesforce Create Snap with Bulk API or REST API?

    If you are using the Bulk API then you should place Salesforce Poller Snap after the Salesforce Create Snap. The Salesforce Poller Snap will read the job submitted to Salesforce, and will return the details(id,name etc) of the created records. Then you can place Mapper Snap and get the required fields($Id,$Name etc).

    If you are using Salesforce Create with REST API, then you will get the details for each of the created record at the output. Using the Mapper Snap you can get the required fields as well($Id,$Name).

    Regards,
    Spiro Taleski