Configuring Cancel button to actually cancel assignment in Constellation Pega Platform v 26.1

In Constellation on Pega Platform 26.1, starting a case-wide optional process creates an assignment. Clicking the standard Cancel button dismisses the assignment screen but leaves that process and assignment active.

Is there a supported configuration or extension point for Cancel to terminate only the optional-process instance started by that action, remove its assignment, and preserve the case’s other active flows? Are flow-action cancellation settings supported for this scenario in Constellation?

Hi Alyssa,

Hi Alyssa,

Currently, Constellation does not provide an out-of-the-box configuration or extension point to customize the Cancel button behavior to terminate an active optional process or remove its assignment—it is strictly designed to dismiss the view and return to the case summary.

We actually ran into this exact same requirement while migrating a case type from Traditional UI to Constellation. Since there is no way to override the Cancel button, the cleanest workaround we found is to add an explicit cancellation indicator on the screen (such as a checkbox or radio button) and route the flow to end that specific process when the user clicks Submit.

Just to add to this, a flow is a flow - once started it acts like any other flow in your case. Cancellation needs to be explicitly added.

However, as you say, the UX of triggering this from a Promoted Action or Optional Actions Menu, the user feels this is temporary. There are two ways I have handled this in the past:

  1. Configure the Optional Process as a User Action with a Cancel Option
    When you trigger an optional process, Pega initiates it as a distinct flow (often as a supporting process or an assignment in the case history) [39, 41].
    1. Alternative Route in the Flow: Design the optional flow with a specific path or outcome for “Cancellation.” This route should bypass the main work and lead directly to an End Shape to cleanly terminate that process execution without affecting the primary case progression.
    2. Activity on Flow Action Post Processing: There is an activity to do this, I remember using it back in '23, you pass a parameter for flow on the case (including index), but struggling to find the activity. (will continue looking).
  2. Using Case-Wide Optional Actions with Stage Transitions
    If the optional process runs as an independent stage or a parallel sub-process:
    1. You can configure a Stage Transition (e.g., Change Stage) or a dedicated “Cancel” process that uses the pzChangeStage activity or the Change Stage smart shape.
    2. This cleanly exits the active step of the optional flow and redirects the case back to its primary path or terminates the optional stage.

Ah! I knew we did something on this. **RE: Activity on Flow Action Post Processing
**
No longer needed, just add pxDismiss to your assignment. For some reason it is no longer in the '26 docs (I am following that up), but word from word from the '25 documentation - Adding supporting optional Processes to Cases:

Optional: To enable Case workers to dismiss a supporting Process, enable an out-of-the-box Action that removes the started Process:

  1. In the header of the supporting Process, click Configure Process.
  2. On the toolbar, click Open Process in Dev Studio.
  3. Open the property dialog box by double-clicking the Assignment shape.
  4. In the Advanced section, expand the Local Actions category, and then in the Local Action field, enter pxDismiss.
  5. Click Submit > Save.

I just did this and it works fine. :slight_smile: