WorkflowDto
DTO for workflow templates, exposing only codes and structured data (never DB IDs).
Properties
| Name | Type | Description |
|---|---|---|
| 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. | ||
| code | string | The unique code for this workflow |
The unique code for this workflow | ||
| name | string | The name of the workflow |
The name of the workflow | ||
| description | string | Optional description explaining the workflow's purpose |
Optional description explaining the workflow's purpose | ||
| 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
{
"libraryCode": "string",
"libraryStatus": "NotFromLibrary",
"isImported": false,
"code": "string",
"name": "string"
}
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