pacx workflow deactivate Deactivates one or more workflows (Power Automate Flow) - neronotte/Greg.Xrm.Command GitHub Wiki

Aliases

pacx flow deactivate
pacx flow stop

Usage

This command can be used to deactivate one or more workflows (Power Automate Flows) in the current environment.

You can deactivate a workflow by specifying its unique identifier using the

--id argument, or by specifying its unique name using the --name argument.If you want to deactivate all the workflows of a given solution, you can simply specify the solution that contains the workflows to deactivate using the

--solution argument. If not provided, the default solution is used.```Powershell

Deactivate a workflow by its unique identifier

pacx workflow deactivate --id 3fa85f64-5717-4562-b3fc-2c963f66afa6

Deactivate a workflow by its unique name

pacx workflow deactivate --name My_Unique_Workflow_Name

Deactivate all the workflows in a given solution

pacx workflow deactivate --solution "My Solution Name"

Deactivate all the workflows in the current default solution

pacx workflow deactivate

## Arguments

| Long Name  | Short Name | Required? | Description                                                                                            | Default value | Valid values |
|------------|------------|-----------|--------------------------------------------------------------------------------------------------------|---------------|--------------|
| `id`       | `id`       | N         | The ID of the workflow to deactivate                                                                   | -             | Guid         |
| `name`     | `n`        | N         | The unique name of the workflow to deactivate                                                          | -             | String       |
| `solution` | `s`        | N         | The solution that contains the workflows to deactivate. If not provided, the default solution is used. | -             | String       |
⚠️ **GitHub.com Fallback** ⚠️