Skip to main content

CreateWorkflowV1Request

Properties

NameTypeDescriptionNotes
NameStringThe name of the workflow[required]
OwnerWorkflowbodyOwner[optional]
DescriptionStringDescription of what the workflow accomplishes[optional]
DefinitionWorkflowdefinition[optional]
EnabledBooleanEnable or disable the workflow. Workflows cannot be created in an enabled state.[optional] [default to $false]
TriggerWorkflowtrigger[optional]

Examples

  • Prepare the resource
$CreateWorkflowV1Request = Initialize-CreateWorkflowV1Request  -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
$CreateWorkflowV1Request | ConvertTo-JSON

[Back to top]