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?
Ok. So we have found the issue we have been encountering. We had a mismatch between pxObjClass and the class name in pzInsKey. Now we have aligned this we are able to create the queue items without opening the work object.