mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-08 12:27:47 +00:00
2.0 KiB
2.0 KiB
id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
| id | title | pagination_label | sidebar_label | sidebar_class_name | keywords | slug | tags | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| v2025-workflow-body | WorkflowBody | WorkflowBody | WorkflowBody | pythonsdk |
|
/tools/sdk/python/v2025/models/workflow-body |
|
WorkflowBody
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | The name of the workflow | [optional] |
| owner | WorkflowBodyOwner | [optional] | |
| description | str | Description of what the workflow accomplishes | [optional] |
| definition | WorkflowDefinition | [optional] | |
| enabled | bool | Enable or disable the workflow. Workflows cannot be created in an enabled state. | [optional] [default to False] |
| trigger | WorkflowTrigger | [optional] | |
| } |
Example
from sailpoint.v2025.models.workflow_body import WorkflowBody
workflow_body = WorkflowBody(
name='Send Email',
owner=sailpoint.v2025.models.workflow_body_owner.WorkflowBody_owner(
type = 'IDENTITY',
id = '2c91808568c529c60168cca6f90c1313',
name = 'William Wilson', ),
description='Send an email to the identity who's attributes changed.',
definition=sailpoint.v2025.models.workflow_definition.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}}, ),
enabled=False,
trigger=sailpoint.v2025.models.workflow_trigger.WorkflowTrigger(
type = 'EVENT',
display_name = '',
attributes = null, )
)