ATF Not rolling back record insert from Flow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2023 11:14 AM
Hello,
I am trying to create an ATF test for a Flow associated with a catalog item in my instance. The flow creates various tasks, and upon completion, inserts a record into a custom table. The problem with the ATF test is that this newly created record in the custom table is not being rolled back.
I saw this article that says that records created by a workflow with a timer will be created by "system" and thus will not be rolled back. I am using a Flow, and there is no timer associated with it. I did, however, notice that the newly created record has a Created value of system.
Any tips for having my newly created record be rolled back after an ATF test?
Thanks!