Queue-For-Processing method

Use this method to specify the details of queue processors that run in your application.

Step Page

Optional. Identify the class of the work item or other item that is to be processed. This page is available later as context to the queue processor activity processing the item. For example:
  • If the queued item refers to a work item, set the step page to the work page (typically pyWorkPage ).
  • If the queued item is an assignment, set the step page to the assignment page (typically NewAssignPage ).
  • If the Step Page value in the step is blank, the primary page of the calling activity is used.


This method has the following parameters:

Field name Available field values Description Default value
Type Standard An item is queued to a standard queue processor. You do not need to create a new queue processor. Standard
Dedicated An item is queued to a custom queue processor.
Queue processor Press the Down Arrow key to view the list of available queue processors. A name of the queue processor to which items are queued. N/A
Date/time for processing A datetime property in the class of the step page. This option is available for dedicated queue processors only. A datetime property by which you specify when a dedicated queue processor resolves the activity. The property represents the time after which an item can be processed. N/A
Activity name Press the Down Arrow key to view the list of available activities. A name of the activity that is resolved by the queue processor. N/A
Lock using Primary page Open a page by using a pzInskey property and lock it. This page is available to Processing activity as pyQueuePage. Primary page
Key defined on property Open a page by using a key defined on a property. This page is available to Processing activity as pyOtherPage. You need to enter a name of the property.
None Open a page without a lock from the database by using the pzInskey property.
Write now No The message is queued as a part of the next database commit. No
Yes The message is queued immediately and is not a part of any transaction.
Queue current snapshot of page No When a page that has a pzInskey property is queued, the message stores the pzInskey value only. When an item is processed using the pzInskey property, the corresponding record from the database opens. No
Yes The message that is queued stores the entire page. This is an advanced option that you can use for performance optimization.
Note: This option is available only when locking is set to None.
Alternate access group Press the Down Arrow key to prompt the list of available access groups. Define an alternate access group when you want to process the item in a different context from the access group that is defined in the queue processor. N/A


The system queues the page to the embedded Kafka data instance. This occurs immediately or upon the next Commit method run, depending on the Write Now setting. The queue processor picks up this item from the queue and processes the activity configured. A unique ID is generated to represent the ItemID and is available on the parameter page as the parameter, pxItemID.

Broken queue

When a queue processor tries to process an item for the number of times that you specify in the MaxAttempts parameter, and the queue processor is not successful, the item is moved to the broken queue. You can view the list of broken items in Admin Studio, on the Queue Processor landing page. To view the list of the broken items, you must have the pzQueueProcessorObserver privilege. To resubmit or delete items from the broken queue, you must have the pzQueueProcessorAdministrator privilege.