Skip to main content

Workflowdefinition

The map of steps that the workflow will execute.

Properties

NameTypeDescriptionNotes
startstrThe name of the starting step.[optional]
stepsmap[string]objectOne or more step objects that comprise this workflow. Please see the Workflow documentation to see the JSON schema for each step type.[optional]
}

Example

from sailpoint.workflows.models.workflowdefinition import Workflowdefinition

workflowdefinition = Workflowdefinition(
start='Send Email Test',
steps={"Send Email":{"actionId":"sp:send-email","attributes":{"body":"This is a test","from":"sailpoint@sailpoint.com","recipientId.$":"$.identity.id","subject":"test"},"nextStep":"success","selectResult":null,"type":"ACTION"},"success":{"type":"success"}}
)

[Back to top]