Discussion

315
Views
Robert Brodeur (brodr)
PEGA
Sr Tech Doc Specialist
Pegasystems Inc.
US
brodr Member since 2013 6 posts
PEGA
Posted: May 27, 2015
Last activity: May 27, 2015
Posted: 27 May 2015 16:09 EDT
Last activity: 27 May 2015 16:09 EDT
Closed

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:

  1. Obj-Save my WO (deferred)
  2. Use Queue-For-Agent for a data record to be processed later
  3. 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).

Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.