Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Running a background process

Updated on November 22, 2021

You can use the Run in background shape to start a background process, such as asynchronous processing or queuing items. The Run in background shape uses a Queue Processor rule for background processing.

  1. In the navigation panel of Dev Studio, click Case types, and then click the case type that you want to open.
  2. On the Workflow tab, click Life cycle.
  3. Hover over a process in a stage, and then click +StepMoreAutomationsRun in background.
  4. Click Select.
  5. From the Type of queue list, choose a type of the queue processor that you want to use. For more information about when to use standard or dedicated queues, see Queue Processor rules:
    • Choose Standard, and then provide an activity that the rule executes.
    • Choose Dedicated, and then provide the queue processor that you want to use.

      To use the dedicated queue processor, you have to create the rule first. For more information, see Creating a Queue Processor rule.

  6. From the Lock using drop-down list, choose a type of lock that you want to use by selecting one of the following options:
    • To open a page by using a pzInskey property and lock it, select Primary page.
    • To open a page by using a key defined on a property, select Key defined on property.
    • To open a page without a lock from the database by using the pzInskey property, select None.
  7. In the Alternate access group field, enter the name of an access group that you want to use to resolve the activity.
    Provide an alternate access group if you want to resolve the activity in a different context from the context that was used to queue the item.
  8. Click Save.

Have a question? Get answers now.

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

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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us