Skip to main content

Batch Actions UI: Manage Thousands of Workflows at Once

· 4 min read
Yoav Levy
Software Engineer Intern @ Uber

What happens when a bad deploy sends thousands of workflows into a broken state? Or when you need to signal an entire cohort of workflows to advance past a checkpoint?

With Batch Actions, Cadence Web lets you select a group of workflows and act on all of them at once, right from the browser.

What Is a Batch Action?

A Batch Action is a Cadence system workflow, able to act on multiple workflow executions simultaneously. Instead of acting on one workflow at a time, you define a target set—a search query that matches workflows by status, type, domain, or any combination—and then dispatch a single action that Cadence fans out across all matching executions.

Under the hood, Cadence's batch processing system handles the fan-out reliably and at scale. From the Web UI's perspective, you describe what to act on and which action, and Cadence takes care of the rest.

Supported actions:

ActionWhat It Does
TerminateImmediately stops all matching workflow executions
SignalSends a named signal (with optional payload) to all matching workflows
CancelRequests graceful cancellation of all matching workflows

This is especially powerful in incident response, where time matters and scale makes one-at-a-time tooling impractical.

Batch Actions have been available through the Cadence CLI for a while. This UI brings the same power to the browser, with visual targeting, live progress tracking, and no terminal required.

How It Works

Before You Start

Batch Actions require two things to be in place:

  1. Advanced Visibility must be enabled on your Cadence server.
  2. The feature flag must be enabled in Cadence Web. See the Feature Flags section in the Cadence Web README for instructions.

Opening the Batch Actions Tab

Batch Actions live in their own tab on the Domain page. You can open it two ways:

  • Navigate directly to the Batch Actions tab on the Domain page
  • Use the Domain Actions dropdown in the top-right corner to create a new Batch Action, which opens the tab automatically

Access to Batch Actions

Creating a Draft

Every Batch Action starts as a draft. This gives you the chance to define and review the target set before anything is applied to your workflows.

You have two ways to select the target workflows:

  • Query — write a search query that matches workflows by status, type, start time, or any custom search attributes. Cadence evaluates the query at execution time.
  • Manual selection — browse the workflow list with search filters and use checkboxes to pick individual executions.

Draft Editor

Once the target set is defined, fill in any required parameters (signal name and payload for signals), choose the action (Terminate, Signal, or Cancel), and optionally set the RPS (workflows processed per second) to control the rollout rate.

Deep Linking

Drafts are shareable. The tab supports deep linking, so you can copy the URL of a draft and send it to a teammate for review before submitting, or link directly to a specific Batch Action's details page.

Tracking Progress

Submitted Batch Actions appear in the sidebar of the Batch Actions tab as an action history. Click any entry to open its details:

  • Total workflows matched
  • How many have succeeded or failed so far

For running actions, you are able to change the RPS param mid-flight. This is useful for very large batches that seem to progress too slowly.

Sidebar and Status

Try It Today!

Batch Actions close the gap between observing a problem and fixing it at scale. Whether you're recovering from an incident, migrating workflows, or just cleaning up old executions, everything you need is now in one place.

Upgrade to the latest Cadence Web release and give it a try. We'd love to hear what workflows you're managing at scale.