Creating a queue processor rule
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.
- In Dev Studio, click .
- Add a label and a ruleset to your queue processor.
- Click Create and open.
- In the Associated with node type list, click a node type to associate with your queue processor.
- Determine the time when you want your queue processor to run by selecting one of the
following options:
- Immediate
- Delayed
- In the Number of threads per node field, enter the number of threads that you want to process your items in a node.
- 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.
- In the Activity field, specify an activity that you want your queue processor to resolve.
- 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. - 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.
- Click Save.
Previous topic Queue processor rules Next topic Queue-For-Processing method