Single transaction involving a queue
Here's a situation that you might find useful when working with a single transaction involving a queue in Pega 7.
Scenario:
I want to do the following within a single transaction:
- Obj-Save my WO (deferred)
- Use Queue-For-Agent for a data record to be processed later
- Commit
Solution:
On the Queue-For-Agent method there is a Deferred? check box. Select this check box if you want to wait until the next commit before creating the queue record (otherwise, this happens immediately).