I need to know after Upsert command to Salesforce if the record was updated or created.
How can i do that ?
There is no direct way you can determine it with salesforce operation response.
Use decision shape and make a connector call to Salesforce Get operation - by passing incoming externalId as query parameter and output parameter also as same externalId. Check this output parameter with incoming externalId.
If both matches, its an insert or else its an update.
Here Test__c is my externalId
Hi thank you !
At Salesforce documentation i saw there is "created" attribute at the Upsert response:
Cant we use it?
I double checked that.
Seems like Boomi is not returning that field in the response
You can raise an idea to include that field as part of the response.
Ideas for Boomi
Existing idea: Provide all available attributes from the Salesforce SOAP Upsert response
Thanks Adam for providing the link. I voted up!!
You help me a lot.
Retrieving data ...