04-08-2021 08:56 AM
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 refers to a previous variable used to map some data. I’ve even added a File Reaser and CSV Parser Snap to get access but this doesn’t seem to do the trick.
Solved! Go to Solution.
04-15-2021 07:40 AM
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
04-15-2021 07:40 AM
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
04-19-2021 11:30 AM
Hi Spiro,
I took your comments on board and was able to get the pipeline working correctly. Even managed to create the necessary child records against the newly created ID.
Thanks so much!