You are here: Reference > Activity methods > Queue instruction

Queue instruction—run an activity asynchronously

The Queue instruction uses a Java thread from a limited thread pool. If using the queue instruction, set the agent/threadpoolsize value in the prconfig.xml file or Dynamic System Settings appropriately based on concurrency needs.

Use the Queue instruction:

Do not use the Queue instruction:

Refer to Parameters for the Queue instruction for information about the activity parameters you can set for the Queue instruction.

Results

At runtime, the system uses rule resolution to locate and start the activity.

The activity does not receive a step page or a primary page.

Execution of the queued activity occurs asynchronously, in a batch requestor. The execution progress of the two activities is not predictable and may vary from execution to execution.

Checking the method status

This method updates the pxMethodStatus property only if it fails. See How to test method results using a transition.

Related Topics IconRelated information

Related Topics IconRelated terms