We are using API Gateway - Salesforce Integration Solution Kit. There is no OOTB Salesforce Operation Assertion to delete SFDC records. What is the recommended way to do it?
I just wanted to write to say that this appears to be filed as a feature request. I want to make sure this is referenced here for anyone coming across this thread and wanting to vote for this feature inclusion: APIM Salesforce operation to delete objects
For now, you can only use the included functions to retrieve deleted objects, but can't actually delete them yourself. Here is the documentation for this ability, for reference: Execute Salesforce Operation Assertion - CA API Gateway - 9.3 - CA Technologies Documentation
On a side note - I'm considering making this a discussion type rather than a question, as a question will have a "right answer", where-as this topic is more requesting ideas on what can be done in lieu of the missing functionality. So just a heads up, I may be converting this. I also found what appears to be a duplicate of this, so I will likely remove that one while I'm at it.
EDIT: I have converted this to a discussion from a question now.
Thanks, Dustin. While waiting for the feature to be delivered, what could we do at the mean time? Can this be done by creating our own Custom Assertion? I notice that the toolkit comes with a SFDC Connection custom assertion demo. Could we write our own custom assertion to call SFDC SOAP API leveraging the SFDC Connection to delete objects? Is it feasible? I would sort the object deletion should be a common use case. Just wondering what options we have at the meantime.
I am unfortunately not deeply familiar with the SFDC custom assertion side of things, but this certainly sounds feasible to me, as it ultimately would come down to just simple API interactions with the SFDC backend. I believe a custom assertion may do the trick, yes.
I am on the same page. Need some light coding for the custom assertion. Thanks, Dustin.
Hi Dustin, our team implemented the custom assertion and it worked.
can you kindly share the implemented custom assertion ? we have also faced with s similar requirement which currently could not be addressed with the kit.
Thanks in advance,
Retrieving data ...