workflowDraftList
The workflowDraftList is a GraphQL API schema that allows you to retrieve and paginate through a list of workflow drafts.
Argument | Description |
tenant | The tenant string specifies the client's information for identification purposes. |
filter | This is a string used to filter out data that meets certain criteria. |
page | This integer specifies the current page in the paginated list. |
size | This integer determines the number of items per page. |
sort | This string is used to specify the sorting order of the items. |
The workflowDraftList returns a data object that includes the following fields:
Field | Description |
canMerge | Indicates if the workflow draft can be merged with others. |
createdAt | Timestamp of when the workflow draft was created. |
createdBy | User who created the workflow draft. |
description | Descriptive text providing more details about the workflow draft. |
expire | The date/time when the workflow draft is set to expire. |
id | Unique identifier for the workflow draft. |
meta | Contains additional metadata associated with the workflow draft. |
name | The name of the workflow draft. |
tenantId | Identifier for the tenant that the workflow draft belongs to. |
updatedAt | Timestamp of when the workflow draft was last updated. |
updatedBy | User who last updated the workflow draft. |
- pagination: A nested object that contains details for navigating the paginated list.
Field | Description |
currPage | The current page number in the paginated list. |
hasNextPage | A boolean indicating whether there is a next page. |
nextPage | The number of the next page, if it exists. |
pageSize | The number of items per page. |
prevPage | The number of the previous page, if it exists. |
totalCount | The total count of items in the list. |