Close popover
John Healey (healj)
Principal System Architect - Pega Consulting
Pegasystems Inc.
healj Member since 2011 14 posts
Posted: December 19, 2017
Last activity: December 19, 2017

How does Queue-For-Agent determine pyInsHandles

We are using Queue-For-Agent to queue the processing of a large number of Work Objects. We have a Data Page that lists the instances to queue that returns the instance handles for the objects. Can we create the queue items without opening the work objects? If we open each work object the processing will be very slow and memory-intensive.

We have experimented with creating a 'prototype' page - setting the pyID, pxObjClass, pzInsKey, pxInsHandle, and pxInsName to emulate the values that are on the Work Object. This has worked in some cases, but others the pyInsHandles has the pxObjClass in uppercase.

I believe that Queue-For-Agent uses the public API Database.getStepPageHandle() to determine the value to include in pyInsHandles. We have tried this function in our calling activity and it returns the same result as we are seeing on the queue item.

Can anyone help us to understand how to get the Queue-For-Agent to set the same value as the pzInsKey?

Data Integration Java and Activities DevOps Testing Applications
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.