How to rollback after an insert operation was made in Javascript activity?
Hi all.
I would like to ask how to rollback a transaction i.e inserted recipient made if there's an error thrown inside Javascript activity?
I found rollback() function here: https://final-docs.campaign.adobe.com/doc/AC/en/jsapi/m-DBEngine-rollback.html however, I'm not sure how to use it or if I can use it.
If there'll be a sample code, it would greatly help. Thank you so much.