pacx workflow deactivate Deactivates one or more workflows (Power Automate Flow) - neronotte/Greg.Xrm.Command GitHub Wiki
pacx flow deactivate
pacx flow stopThis 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
pacx workflow deactivate --id 3fa85f64-5717-4562-b3fc-2c963f66afa6
pacx workflow deactivate --name My_Unique_Workflow_Name
pacx workflow deactivate --solution "My Solution Name"
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 |