workflowRuns

Create One workflowRun

post/workflowRuns

Request

  • Base URL: https://twenty.mardu.systems/rest
  • URL: https://twenty.mardu.systems/rest/workflowRuns
  • Auth: HTTP bearer

Query parameters

depth0 | 1

Determines the level of nested related objects to include in the response. - 0: Primary object only - 1: Primary object + direct relations

upsertboolean

If true, creates the object or updates it if it already exists.

Request body

namestring

Name of the workflow run

enqueuedAtstring date-time

Workflow run enqueued at

startedAtstring date-time

Workflow run started at

endedAtstring date-time

Workflow run ended at

status'NOT_STARTED' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'ENQUEUED' | 'STOPPING' | 'STOPPED'

Workflow run status

stateobject required

State of the workflow run

contextobject

Context of the workflow run

outputobject

Output of the workflow run

positionnumber

Workflow run position

workflowVersionIdstring uuid
workflowIdstring uuid

Example request

{
  "name": "Workflow Run name",
  "status": "NOT_STARTED",
  "state": {},
  "workflowVersion": null,
  "workflow": null,
  "favorites": null,
  "timelineActivities": null
}

Response

Successful operation

Changes

No recorded changes to this operation across all 1 revision of this API.