LinkedIn
Copied!

Table of Contents

Creating a Queue Processor rule

Version:

Only available versions of this content are shown in the dropdown

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.

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.