questions regarding processing of System-Queue-DefaultEntry
Let's say I created a System-Queue-DefaultEntry item for a work object using method "Queue-For-Agent". An agent of mode "Standard" is specified to handle the queue item.
In the agent activity, work object is updated using "Property-Set".
Question 1, will "Standard" mode agent queue functionality automatically save the work object? Or do I have to explicitly use "Obj-Save" in agent activity in order to save the updated WO?
"Standard" mode agent queue functionality handles transactional processing automatically such as getting lock on WO, Commit/Rollback, release lock. If Commit fails, rollback will executed, I believe.
Question 2, if Rollback is executed by agent queue functionality, will the agent queue functionality retry processing of the queue item automatically (assuming MaxAttempts has not been reached) until MaxAttempts is reached?
Question 3, if certain error condition is noticed/met in agent activity, how to tell the "agent queue functionality" so that it will do one of the following:
a) mark the queue item as broken, do not retry
b) keep retrying until MaxAttempts is reached, and then mark the queue item as broken