Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

ATF Not Rolling Back Record

LearnUseThrive
Mega Sage

In ATF, I generate an inbound email, which kicks off an inbound email Flow. This Flow creates a record in a custom table. There is then an ATF step to confirm the record exists. I would expect ATF to roll back this record, but it's not rolling back. I tried adding a delete step to delete the record, but it doesn't delete, perhaps because ATF is rolling back the delete. How do I accomplish this cleanup of the record?

1 REPLY 1

nataliya_b
Tera Guru

I know sys_email table records are not rolled back

Could you try to delete the record via code as one of the step?