Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
"importWorkflow",
"getWorkflowDeployment",
"updateWorkflowPublicApi",
"listWorkflowTriggers",
"updateWorkflowTrigger",
"deployWorkflow",
"undeployWorkflow",
"rollbackWorkflow",
Expand Down
51 changes: 51 additions & 0 deletions apps/docs/content/docs/cli/reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8228,6 +8228,57 @@ sim workflows list [options]

API request and response schemas: [listWorkflows](/api-reference/workflows/listWorkflows).

### sim workflows triggers list

Show the health of every trigger the live deployment serves

```bash
sim workflows triggers list <workflowId>
```

**Arguments**

<CommandTable>

| Argument | Required | Description |
| --- | --- | --- |
| `workflowId` | Yes | Unique workflow identifier. |

</CommandTable>

API request and response schemas: [listWorkflowTriggers](/api-reference/workflows/listWorkflowTriggers).

### sim workflows triggers update

Enable or disable one trigger of the live deployment

```bash
sim workflows triggers update <workflowId> <blockId> [options]
```

**Arguments**

<CommandTable>

| Argument | Required | Description |
| --- | --- | --- |
| `workflowId` | Yes | Unique workflow identifier. |
| `blockId` | Yes | Trigger block in the deployed workflow. |

</CommandTable>

**Options**

<CommandTable>

| Option | Required | Description |
| --- | --- | --- |
| `--enabled <true\|false>` | Yes | Whether the trigger should fire. A disable lasts until the next deploy or version activation, which re-enables every trigger. Accepted values: `true`, `false`. |

</CommandTable>

API request and response schemas: [updateWorkflowTrigger](/api-reference/workflows/updateWorkflowTrigger).

### sim workflows move

Move workflows
Expand Down
47 changes: 47 additions & 0 deletions apps/docs/content/docs/cli/workflows.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,53 @@ sim workflows deployment update <workflowId> [options]

API request and response schemas: [updateWorkflowPublicApi](/api-reference/workflows/updateWorkflowPublicApi).

### Show the health of every trigger the live deployment serves

```bash
sim workflows triggers list <workflowId>
```

**Arguments**

<CommandTable>

| Argument | Required | Description |
| --- | --- | --- |
| `workflowId` | Yes | Unique workflow identifier. |

</CommandTable>

API request and response schemas: [listWorkflowTriggers](/api-reference/workflows/listWorkflowTriggers).

### Enable or disable one trigger of the live deployment

```bash
sim workflows triggers update <workflowId> <blockId> [options]
```

**Arguments**

<CommandTable>

| Argument | Required | Description |
| --- | --- | --- |
| `workflowId` | Yes | Unique workflow identifier. |
| `blockId` | Yes | Trigger block in the deployed workflow. |

</CommandTable>

**Options**

<CommandTable>

| Option | Required | Description |
| --- | --- | --- |
| `--enabled <true\|false>` | Yes | Whether the trigger should fire. A disable lasts until the next deploy or version activation, which re-enables every trigger. Accepted values: `true`, `false`. |

</CommandTable>

API request and response schemas: [updateWorkflowTrigger](/api-reference/workflows/updateWorkflowTrigger).

### List workflow versions

```bash
Expand Down
Loading
Loading