Skip to main content

WorkflowDefinition

Properties

NameTypeDescriptionNotes
StartStringThe name of the starting step.[optional]
Steps[map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4One or more step objects that comprise this workflow. Please see the Workflow documentation to see the JSON schema for each step type.[optional]

Examples

  • Prepare the resource
$WorkflowDefinition = Initialize-PSSailpoint.BetaWorkflowDefinition  -Start Send Email Test `
-Steps {Send Email={actionId=sp:send-email, attributes={body=This is a test, from=[email protected], recipientId.$=$.identity.id, subject=test}, nextStep=success, selectResult=null, type=ACTION}, success={type=success}}
  • Convert the resource to JSON
$WorkflowDefinition | ConvertTo-JSON

[Back to top]