# Cancelling an Optional Process (Dismissing Supporting Processes)

**URL:** <https://forums.pega.com/t/cancelling-an-optional-process-dismissing-supporting-processes/14144>\
**Category:** Knowledge Share\
**Created:** [November 23, 2026, 4:04pm UTC](https://forums.pega.com/t/cancelling-an-optional-process-dismissing-supporting-processes/14144 "2026-11-23T16:04:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcCheong](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marccheong/32/23266_2.png) [@MarcCheong](https://forums.pega.com/u/MarcCheong)\
**Post date:** [November 23, 2026, 4:04pm UTC](https://forums.pega.com/t/cancelling-an-optional-process-dismissing-supporting-processes/14144/1 "2026-11-23T16:04:14Z")

</div>

One of the most frequent questions we see on the Pega Forums (such as in [Configuring Cancel button to actually cancel assignment in Constellation Pega Platform v 26.1](https://forums.pega.com/t/configuring-cancel-button-to-actually-cancel-assignment-in-constellation-pega-platform-v-26-1/14102)) revolves around what happens when a user launches an **Optional Process** (Supporting Process), changes their mind, and clicks the **Cancel** button.

Instead of the process disappearing, the user is returned to the case only to find an orphaned assignment sitting in their **To-Do / Assignments** list! Let’s break down **what** is happening under the hood, **when** this impacts your users, and **how** to properly configure an out-of-the-box way to dismiss a started Optional Process.

 ![image](https://pega1.discourse-cdn.com/pega/original/3X/8/2/829dd3ffdb9f58be2d2b168aadac516602b3902b.png)

* * *

**🎯 The Scenario: “I Changed My Mind!”**

Imagine a Case Worker is working on a **Loan Application** or **Customer Service Request**.

1. While in the middle of the primary workflow, the user goes to the **Actions** menu and triggers a multi-step **Optional Process** (for example, _Update Collateral Details_ or a _Search and Select_ lookup process) .
2. Pega spawns this supporting flow in parallel and opens the first assignment screen .
3. Halfway through the first screen, the Case Worker realizes they selected the wrong action or don’t have the required documents yet, so they click **Cancel** at the bottom of the form .

**The Problem**

In the Constellation Design System, the standard **Cancel** button on an Assignment is designed to **discard unsaved UI changes on the current form and unlock/close the active view** —it does **not** delete the assignment or terminate the underlying flow . Because an Optional Process instantiates a real flow on the case (pxFlow), clicking Cancel simply leaves that supporting process paused at its current assignment in the Case’s **To-Do** widget .

* * *

**💡 What It Is: Optional Action vs. Optional Process**

To understand why this happens—and how to design for it—it helps to distinguish between the two types of optional work in Pega

 ![image](https://pega1.discourse-cdn.com/pega/original/3X/d/e/de689799ef2accc2b299ce3486908c7b7f003c42.png)

| **Feature** | **Optional User Action (Local Action)** | **Optional Process (Supporting Process)** | |
| --- | --- | --- | --- |
| **Scope** | A single step/screen (Flow Action). | A series of steps (Flow rule with one or more Assignments/Automations) . | |
| **Behavior on “Cancel”** | Closes the modal/view and returns to the case with **no leftover assignment** , because no new flow was spawned. | Leaves the newly spawned **Assignment open** in the To-Do list, because starting the process created an active flow instance on the Case . | |
| **How to Abort** | Click the standard **Cancel** button. | Requires an explicit **Dismiss / Cancel Process** action that removes the started flow from the Case. | |

📌 **Rule of Thumb:** If your optional task only requires **one screen** , always configure it as an **Optional User Action** rather than a single-step **Optional Process**. You immediately avoid the lingering assignment problem!

* * *

⏱ **Alternatives:**  **Can you solve with SLA?**

Before trying the below, you may want to consider using an SLA to automatically abort the new flow, if it abandoned. This is a far simpler implementation and does not require the user to manually dismiss the newly spawned flow.

* * *

**🛠 How to Do It: Enabling Case Workers to Dismiss a Supporting Process**

If you genuinely have a multi-step **Optional Process** and need to let Case Workers abandon and remove it after it has been started, Pega Platform provides an out-of-the-box mechanism to dismiss the supporting process.

_(Note: This configuration was previously documented under Step 8 of_ [Pegasystems Documentation](https://docs.pega.com/bundle/platform-25/page/platform/case-management/adding-supporting-processes-cases.html) _, though it was omitted from the updated '26 documentation—the capability itself remains supported and works in Pega Infinity '26!)_

**Step-by-Step Configuration**

1. **Open your Optional Process Flow in Infinity Studio:**
  - In App Studio, navigate to **Case Types** , open your Case Type, and locate your supporting process under the **Workflow** tab ( **Optional actions** pane).
    - ![image](https://pega1.discourse-cdn.com/pega/original/3X/a/3/a371d8c2fbee3cb96595ba01497ed1d40c8d4e95.png)

2. **Open the Process / Assignment Properties:**
  - Open the **Process** of the Flow rule and locate the **Local Actions / Optional Actions** section .
    - ![image](https://pega1.discourse-cdn.com/pega/original/3X/e/f/ef6c808acf3b15a78ffac0a2cdad0aee0f599b19.png)

3. **Open process** to look at the rule directly
  - ![image](https://pega1.discourse-cdn.com/pega/original/3X/b/2/b284aecf2e2aac33a772be895882eec00dbc33ee.png)

4. **Open the Assignment configuration**
  1. For a regular process I can double click this shape or right-click and View Properties
    - ![image](https://pega1.discourse-cdn.com/pega/original/3X/2/d/2d681fae6b11d54b723736c3d4269f35054e9919.png)

5. Scroll down and expand the **Local actions** section
  1. ![image](https://pega1.discourse-cdn.com/pega/original/3X/1/7/179a91097291c2b61a2189b6c8b6ae1964c190db.png)

6. **Add the Out-of-the-Box Cancel/Remove Process Action:**
  - In the **Local Actions** configuration, click **+Add local action** to add the out-of-the-box Flow Action that removes the started process
    - ![image](https://pega1.discourse-cdn.com/pega/original/3X/7/a/7a0df1dce0f107b1fb2fe98a620fbc3e9c4cfbda.png)

7. **Save your Flow Rule and Test at Runtime:**
  - Click **Save** and check-in as needed .
  - Launch a Case in your Constellation portal and start the Optional Process from the **Actions** menu .
  - On the assignment, select the local **Cancel process** action from the assignment’s **Actions** menu (or local action selector) and submit.
  - **Result:** Pega cleanly terminates the supporting flow, removes the assignment from the **To-Do** list, and returns the user to the main Case view without resolving or cancelling the parent Case itself.
    - ![image](https://pega1.discourse-cdn.com/pega/original/3X/7/6/761f9ad78ef3fa4b0a12dced66e1c111b6e3b7df.png)

* * *

**⚠ Common Pitfalls to Watch Out For**

- **Dismiss is only available when you are inside the action itself** , it is not a Case Wide action - as the context for what to cancel is taken from the Assignment/Step you have open.
  - ![image](https://pega1.discourse-cdn.com/pega/original/3X/2/d/2d681fae6b11d54b723736c3d4269f35054e9919.png)
  - Personally, I would prefer a case-wide action that allowed you to select the assignment and cancel it. I have done that in the past but it is extra build work!

- **Don’t try to override the OOTB Cancel button via custom UI hacks:** As discussed in [How can I hide the Cancel button in a flow action (assignment shape) in Constellation UI?](https://forums.pega.com/t/how-can-i-hide-the-cancel-button-in-a-flow-action-assignment-shape-in-constellation-ui/9863) and [Customizing pyCaseActionAreaButtons in Pega Constellation](https://forums.pega.com/t/customizing-pycaseactionareabuttons-in-pega-constellation/10744), the standard **Submit / Save for later / Cancel** action area is a prescribed part of the Constellation Design System. You can relabel the buttons, but you cannot repurpose the standard Cancel button to execute flow-deletion logic without going down a heavy custom DX Component route (which is not recommended) .
- **Don’t confuse Cancelling a Process with Cancelling the Case:** Using a Change Stage shape to move to a Resolution stage (e.g., Resolved-Withdrawn or Resolved-Cancelled) will terminate the **entire Case**. Always use the local process-dismissal action when you only want to abort the supporting sub-flow while keeping the primary Case active.

* * *

**🔗 Related References & Further Reading**

- **Pega Platform '25 Docs:** [Pegasystems Documentation](https://docs.pega.com/bundle/platform-25/page/platform/case-management/adding-supporting-processes-cases.html) (See Step 8)
- **Pega Forums Discussion:** [Configuring Cancel button to actually cancel assignment in Constellation Pega Platform v 26.1](https://forums.pega.com/t/configuring-cancel-button-to-actually-cancel-assignment-in-constellation-pega-platform-v-26-1/14102)
- **Constellation 101 Hub:** [Constellation 101](https://forums.pega.com/t/constellation-101/8566)

---

<div class="post-metadata">

**Author:** ![MarcCheong](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marccheong/32/23266_2.png) [@MarcCheong](https://forums.pega.com/u/MarcCheong)\
**Post date:** [November 23, 2026, 4:05pm UTC](https://forums.pega.com/t/cancelling-an-optional-process-dismissing-supporting-processes/14144/2 "2026-11-23T16:05:32Z")

</div>

**Enjoyed this article?**

See suggested articles from our [Constellation 101](https://forums.pega.com/t/constellation-101/8566) series and view all our [Knowledge Shares](https://forums.pega.com/c/expert-circle-user-experience/ux-blog/16) from our User Experience Expert Circle.
