I'd like to use a SimpleJob DA to defer some tasks, but have concerns with how database transactions are handled. It seems the agent first opens a database transaction, calls Map(), and commits the transaction regardless if an error occurred in Map(). This could lead to data corruption if Map() contained multiple database changes and only some of them were committed.
Am I missing something, or is this a known issue or limitation with SimpleJob DAs?