starting point for adding python sdk docs

This commit is contained in:
darrell-thobe-sp
2025-02-20 12:59:19 -05:00
parent 3b9e39ca19
commit c18583ede4
2726 changed files with 370294 additions and 5 deletions

View File

@@ -0,0 +1,51 @@
---
id: workflow-body
title: WorkflowBody
pagination_label: WorkflowBody
sidebar_label: WorkflowBody
sidebar_class_name: pythonsdk
keywords: ['python', 'Python', 'sdk', 'WorkflowBody', 'WorkflowBody']
slug: /tools/sdk/python/v3/models/workflow-body
tags: ['SDK', 'Software Development Kit', 'WorkflowBody', 'WorkflowBody']
---
# WorkflowBody
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **str** | The name of the workflow | [optional]
**owner** | [**WorkflowBodyOwner**](workflow-body-owner) | | [optional]
**description** | **str** | Description of what the workflow accomplishes | [optional]
**definition** | [**WorkflowDefinition**](workflow-definition) | | [optional]
**enabled** | **bool** | Enable or disable the workflow. Workflows cannot be created in an enabled state. | [optional] [default to False]
**trigger** | [**WorkflowTrigger**](workflow-trigger) | | [optional]
}
## Example
```python
from sailpoint.v3.models.workflow_body import WorkflowBody
workflow_body = WorkflowBody(
name='Send Email',
owner=sailpoint.v3.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.v3.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.v3.models.workflow_trigger.WorkflowTrigger(
type = 'EVENT',
display_name = '',
attributes = null, )
)
```
[[Back to top]](#)