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.

How to use a case type rule to customize Start a New Process flow list

Updated on September 10, 2021

Summary

In most work object forms based on Review and Confirm harness rules, an operator can select the Start New Process button to start a new flow execution on an open work object. By default, the operator can select any flow in the inherited work classes that that can be added to a work object. This capability is available when the Can be added to a work object? option is selected on the flow rule's Process tab.

You can customize the list to exclude flows that are not relevant to a work type by adding a case type rule (Rule-Obj-CaseType) in the Applies To class. Using the rule simplifies the presentation and reduces the possibility that an operator will start an inappropriate flow.

Suggested Approach

In this example, the Purchase Order flow (in the work class AlphaCorp-OrderEntrySystem-PurchaseOrder) initially displays the following list of available new processes. The list includes flows in Work- class.

You want to include only the Request Feedback and Fix a work item flows, which are in AlphaCorp-OrderEntrySystem-PurchaseOrder and exclude the others.

To configure the list, do the following:

  1. Create a case type rule in the Applies To class. The Purpose is pydefault (cannot be edited; there can be only one instance in a class).
  2. On the Processes tab In the Process to Start section, add a row and use Smart Prompt to select the flow you want to include. (The list ignores the Can be added to a work object? option on a flow rule's Process tab).

You can add a when rule to determine the conditions under which a flow will appear in the Start a new process pull-down list.
  1. Save the rule when you have finished editing it.
  2. Run the flow. When you reach the form containing the Start New Process button, click it. This opens the list of available flows as shown here:

Notes:

  • Values in the case type rule override the default list. If you do not enter any values in the Processes to Start array, no flows appear in the list. If you want to revert to the default behavior, delete the rule.
  • A case type rule in a parent work class applies to all classes inheriting from it. Create a case type rule in the child’s Applies To class to override the rule in the parent class. For example, flows in the AlphaCorp-OrderEntrySystem case type rule are available in a AlphaCorp-OrderEntrySystem-PurchaseOrder work object. Add a case type rule to AlphaCorp-OrderEntrySystem-PurchaseOrder to specify its own list of flows and those in other sibling classes.

Tags

Pega Platform 7.1.1 - 8.3.1 System Architect Lead System Architect Business Architect Experience Designer Pega Delivery Leader System/Cloud Ops Administrator Case Management Financial Services Healthcare and Life Sciences Insurance Communications and Media Government Healthcare and Life Sciences Consumer Services

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