CreateWorkflowRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Name | String | The name of the workflow | [required] |
| Owner | WorkflowBodyOwner | [required] | |
| Description | String | Description of what the workflow accomplishes | [optional] |
| Definition | WorkflowDefinition | [optional] | |
| Enabled | Boolean | Enable or disable the workflow. Workflows cannot be created in an enabled state. | [optional] [default to $false] |
| Trigger | WorkflowTrigger | [optional] |
Examples
- Prepare the resource
$CreateWorkflowRequest = Initialize-BetaCreateWorkflowRequest -Name Send Email `
-Owner null `
-Description Send an email to the identity who's attributes changed. `
-Definition null `
-Enabled false `
-Trigger null
- Convert the resource to JSON
$CreateWorkflowRequest | ConvertTo-JSON