Skip to content

Commit d673235

Browse files
committed
Updates new bulk actions page
1 parent b8235ea commit d673235

File tree

4 files changed

+25
-16
lines changed

4 files changed

+25
-16
lines changed

docs/bulk-actions.mdx

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,10 @@ title: "Bulk actions"
33
description: "Perform actions like replay and cancel on multiple runs at once."
44
---
55

6-
Bulk actions allow you to perform operations like replaying or canceling on multiple runs at once. This is especially useful when you need to retry a batch of failed runs with a new version of your code, or when you need to cancel multiple in-progress runs.
7-
8-
## Bulk replaying
9-
10-
You can replay multiple runs at once by selecting them from the table on the Runs page using the checkbox on the left hand side of the row. Then click the "Replay runs" button from the bulk action bar that appears at the bottom of the screen.
11-
12-
This is especially useful if you have lots of failed runs and want to run them all again. To do this, first filter the runs by the status you want, then select all the runs you want to replay and click the "Replay runs" button from the bulk action bar at the bottom of the page.
6+
Bulk actions allow you to perform replaying and canceling on multiple runs at once. This is especially useful when you need to retry a batch of failed runs with a new version of your code, or when you need to cancel multiple in-progress runs.
137

148
<video
15-
src="https://content.trigger.dev/bulk-replaying-runs.mp4"
9+
src="https://content.trigger.dev/bulk-actions.mp4"
1610
preload="auto"
1711
controls={true}
1812
loop
@@ -22,19 +16,34 @@ This is especially useful if you have lots of failed runs and want to run them a
2216
height="100%"
2317
/>
2418

25-
## Bulk canceling
19+
## How to create a new bulk action
20+
21+
<Icon icon="circle-1" iconType="solid" color="#FF2D6B" size="20" /> Open the bulk action panel from the top right of the runs page
22+
23+
![Access bulk actions](/images/bulk-action-open-panel.png)
24+
25+
26+
<Icon icon="circle-2" iconType="solid" color="#FF2D6B" size="20" /> Filter the runs table to show the runs you want to bulk action
27+
28+
<Icon icon="circle-3" iconType="solid" color="#FF2D6B" size="20" /> Alternatively, you can select individual runs
29+
30+
<Icon icon="circle-4" iconType="solid" color="#FF2D6B" size="20" /> Choose the runs you want to bulk action
31+
32+
<Icon icon="circle-5" iconType="solid" color="#FF2D6B" size="20" /> Name your bulk action (optional)
33+
34+
<Icon icon="circle-6" iconType="solid" color="#FF2D6B" size="20" /> Choose the action you want to perform, replay or cancel
35+
36+
<Icon icon="circle-7" iconType="solid" color="#FF2D6B" size="20" /> Click the "Replay" or "Cancel" button and confirm in the dialog
2637

27-
Similar to replaying multiple runs, you can cancel multiple runs at once. This is particularly useful when you have a batch of runs that you want to stop, perhaps because they were triggered with incorrect parameters or are no longer needed.
38+
![Access bulk actions](/images/bulk-action-create.png)
2839

29-
To cancel multiple runs:
40+
<Icon icon="circle-8" iconType="solid" color="#FF2D6B" size="20" /> You'll now view the bulk action processing from the bulk action page
3041

31-
1. Filter the runs table to show the runs you want to cancel (e.g., all runs with status "QUEUED" or "EXECUTING")
32-
2. Use the checkboxes on the left side of the runs table to select the runs you want to cancel
33-
3. Click the "Cancel runs" button in the bulk action bar that appears at the bottom of the screen
42+
<Icon icon="circle-9" iconType="solid" color="#FF2D6B" size="20" /> You can replay or view the runs from this page
3443

35-
After confirming, all selected runs that can be canceled (those in appropriate states like QUEUED or EXECUTING) will be canceled. The status of these runs will change to "CANCELED" and they will not be resumed.
44+
![Access bulk actions](/images/bulk-action-page.png)
3645

3746
<Note>
3847
You can only cancel runs that are in states that allow cancellation (like QUEUED or EXECUTING).
39-
Runs that are already completed, failed, or in other final states cannot be canceled.
48+
Runs that are already completed, failed, or in other final states by the time the bulk action process gets to them, cannot be canceled.
4049
</Note>

docs/images/bulk-action-create.png

559 KB
Loading
89 KB
Loading

docs/images/bulk-action-page.png

338 KB
Loading

0 commit comments

Comments
 (0)