Skip to main content

Creating a Queue Processor rule

Pega Community logo

Note: The following content, referenced from Pega Community, is included here to help you better achieve the module learning objectives.

Create a Queue Processor rule to queue your items. You can use a Queue Processor rule for immediate or delayed processing, for tasks such as sending emails to users or updating the database of user logins.

  1. In Dev Studio, click Create SysAdmin Queue Processor .

  2. Add a label and a ruleset to your queue processor.

  3. Click Create and open.

  4. In the Associated with node type list, click a node type to associate with your queue processor.

  5. Determine the time when you want your queue processor to run by selecting one of the following options:

    • Immediate
    • Delayed
  6. In the Number of threads per node field, enter the number of threads that you want to process your items in a node.

  7. In the Class field, specify the class of an item that you want to queue.

    The class that you specify must contain the activity that you want your queue processor to resolve.
  8. In the Activity field, specify an activity that you want your queue processor to resolve.

  9. Optional:

    Modify any of the following fields:

    Field Field Description
    Max attempts The number of attempts that you want your queue processor to perform before the item is moved to the broken items queue. The default value is 3.
    Initial delay (in minutes) The amount of minutes for the processor to wait before retry to process an item. The default value is 1.
    Delay factor The factor by which the initial delay value is multiplied to calculate the period of time between successive retry attempts. The default value is 2.
  10. Optional:

    In the Alerts configuration section, in the Long running queue processor threshold field, change the threshold for long running queue processor activities.

    An alert is saved to the log file when the activity’s execution time exceeds the threshold value. For more information, see PEGA0117 alert: Long-running queue processor activity.
  11. Click Save.

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice