WorkflowDto
DTO for workflow templates, exposing only codes and structured data (never DB IDs).
Properties
| Name | Type | Description |
|---|---|---|
| code | string | Stable identifier. For library-shipped items this is the library code; for tenant-imported |
Stable identifier. For library-shipped items this is the library code; for tenant-imported | ||
| name | string | Display name shown to users in lists, dialogs, and the import browser. |
Display name shown to users in lists, dialogs, and the import browser. | ||
| description | string | Optional human-readable summary of what this entity is for. |
Optional human-readable summary of what this entity is for. | ||
| libraryCode | string | The Code of the library template this entity was imported from, or null if the entity |
The Code of the library template this entity was imported from, or null if the entity | ||
| libraryStatus | enum | Describes a library-imported entity's relationship to its source library template. |
Describes a library-imported entity's relationship to its source library template. | ||
| isImported | boolean | True if the tenant has already imported this library item. |
True if the tenant has already imported this library item. | ||
| deprecated | boolean | True if this library item has been retired. Deprecated items are hidden from the import |
True if this library item has been retired. Deprecated items are hidden from the import | ||
| deadlineRelativeTo | enum | DueDate StartDate |
DueDate StartDate | ||
| groupCount | integer | Total number of groups in this workflow |
Total number of groups in this workflow | ||
| stepCount | integer | Total number of steps across all groups in this workflow |
Total number of steps across all groups in this workflow | ||
| groups | array of WorkflowGroupDto | The workflow groups containing steps |
The workflow groups containing steps | ||
| hasAutoExecutingStepsWithNoDependencies | boolean | Whether this workflow contains any auto-executing steps with no dependencies. |
Whether this workflow contains any auto-executing steps with no dependencies. | ||
| requiresClient | boolean | Whether this workflow requires a client to be associated with the task. |
Whether this workflow requires a client to be associated with the task. | ||
JSON Example
{
"code": "string",
"name": "string",
"description": "string",
"libraryCode": "string",
"libraryStatus": "NotFromLibrary"
}
Used By Operations
-
POST
Create Workflow
/tenants/{tenant}/workflows
-
GET
Get Workflow
/tenants/{tenant}/workflows/{code}
-
PUT
Update Workflow
/tenants/{tenant}/workflows/{code}
-
GET
Get Library Workflow
/tenants/{tenant}/workflows/library/{code}
-
PUT
Revert Workflow to Library
/tenants/{tenant}/workflows/{code}/library-version
-
POST
Import from Library
/tenants/{tenant}/workflows/library/{libraryCode}/import
-
POST
Generate Workflow
/tenants/{tenant}/workflows/generate