Workflow
API for workflow
Method & Permission
API | GET | POST | PUT | PATCH | DELETE |
Workflow List | Admin, Member | Admin | - | - | - |
Workflow Detail | Admin, Member | - | - | Admin | Admin |
Workflow List
GET
/tables/workflow/list/{level}/{sid}/{serializer}/
This endpoint allows you to get a list of workflows.
Path Parameters
Name | Type | Description |
---|---|---|
level | string | organization |
sid | string | organization sid |
serializer | string | name, list, detail |
Query Parameters
Name | Type | Description |
---|---|---|
table__sid | boolean | The workflow is table specific, provide table__sid to query the workflow specific to a table |
Headers
Name | Type | Description |
---|---|---|
token | string | Authentication token |
Workflow List
POST
/tables/workflow/list/{level}/{sid}/{serializer}/
This endpoint allows you to create a list of workflows
Path Parameters
Name | Type | Description |
---|---|---|
level | string | organization |
sid | string | organization sid |
serializer | string | detail |
Query Parameters
Name | Type | Description |
---|---|---|
table__sid | string |
Headers
Name | Type | Description |
---|---|---|
token | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
parent | number | |
name | string | |
description | string |
Workflow Detail
GET
/tables/workflow/detail/{sid}/
Path Parameters
Name | Type | Description |
---|---|---|
sid | string |
Headers
Name | Type | Description |
---|---|---|
token | string |
Workflow Detail
PATCH
/tables/workflow/detail/{sid}/
Operation level: Admin
Path Parameters
Name | Type | Description |
---|---|---|
sid | string |
Query Parameters
Name | Type | Description |
---|---|---|
trigger__sid | string | pass trigger__sid in query as the row sid to trigger the workflow and update variable |
event | string | pass event in query to update execution log, work together with trigger__sid |
Headers
Name | Type | Description |
---|---|---|
token | string |
Request Body
Name | Type | Description |
---|---|---|
parent | number | |
name | string | |
description | string | |
is_archived | boolean | |
workflow_data | object | additional data to update the execution, work together with trigger__sid |
variables | object | additional variable to parse the workflow data, work together with trigger__sid |
Workflow Detail
DELETE
/tables/workflow/detail/{sid}/
Path Parameters
Name | Type | Description |
---|---|---|
sid | string |
Headers
Name | Type | Description |
---|---|---|
token | string |
Last updated