โ06-03-2020 08:20 AM
Iโve been experimenting using the SFDC Batch Create snap to create a record and associated child records in a single transaction, and that works fine, as advertised.
What I canโt figure out how to to is to do the following: Insert a record in each of two (unrelated) SObjects and create a Junction record in a third SObject, that connects them both, all in a single call. And fair enough, the Snap Pack documentation doesnโt suggest I should be able to do that.
But I know that under the hood this Snap is using the SFDC REST API composite Resource, and I know it supports this kind of thing. Example Here
I tried various ways to do something similar in my JSON source for the Snap, but no matter what I try it just bombs out with an error.
Should I be able to do this? Just curious.
โ04-07-2021 03:13 AM
Hi Dave,
Did you ever find this out?
Iโm just embarking on this journey right now and itโs imperative that our integration is able to do this. SnapLogic documentation seems to be very limited about this subject matter.
โ04-07-2021 09:09 AM
Hi Norah, nobody responded to my question, sadly. And partly due to a lack of confidence, we ended up not using Snap and developed our own code.
โ04-07-2021 11:52 AM
Thank you for responding Dave.
Thatโs a shame. Hope SnapLogic will turn up something!
โ10-13-2022 07:46 PM
Hi Dave,
I can see that you have mentioned you were able to a record and associated child records in a single transaction.
I am also trying to do the same thing but not able to do it.
If you can please share the snap you have created for the above functionality, it would be really helpful.
Thanks!