For the complete documentation index, see llms.txt. This page is also available as Markdown.

Workflow Instance

Manage VARIO Cloud workflow instances: view status, work items and logs, resume or kill runs, and retrieve latest instances or query presets by reference.

the workflow instance API

put
Path parameters
idinteger · int64Required

ID of workflow-instance

Responses
200

OK

No content

put/cmn/workflow-instances/{id}/resume
PUT /cmn/workflow-instances/{id}/resume HTTP/1.1
Host: api.example.com
Accept: */*
200

OK

No content

put
Path parameters
idinteger · int64Required

ID of workflow-instance

Responses
200

OK

No content

put/cmn/workflow-instances/{id}/kill
PUT /cmn/workflow-instances/{id}/kill HTTP/1.1
Host: api.example.com
Accept: */*
200

OK

No content

get
Path parameters
idinteger · int64Required

Workflow instance identifier.

Responses
200

OK

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

statestring · enumOptional

Workflow instance status.

Possible values:
get/cmn/workflow-instances/{id}
GET /cmn/workflow-instances/{id} HTTP/1.1
Host: api.example.com
Accept: */*
200

OK

{
  "version": "text",
  "info": {
    "createdAt": "2026-01-01T00:00:00.000Z",
    "createdFrom": "text",
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "updatedFrom": "text"
  },
  "id": "text",
  "state": "CREATED",
  "workflowRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "workItems": [],
  "logEntries": []
}

Return the current workflow instance state for the given reference

get
Path parameters
referenceIdinteger · int64Required
referenceKeystringRequired
Responses
200

Workflow instance found.

application/json
string · enumOptional

Workflow instance status.

Possible values:
get/cmn/workflow-instances/workflow-state/{referenceKey}/{referenceId}
GET /cmn/workflow-instances/workflow-state/{referenceKey}/{referenceId} HTTP/1.1
Host: api.example.com
Accept: */*
CREATED

Return a query preset for selecting all workflow instances for the given reference

get
Path parameters
referenceIdinteger · int64Required
referenceKeystringRequired
Responses
200

Workflow instance found.

application/json

Adhoc Preset

versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

modestring · enumRequired

What this preset can represent, QUERY or STATEMENT.

Default: QUERYPossible values:
templateIdstring · min: 1Required

Template this filter was assigned to.

templateGroupKeystring · min: 1Required

The templateGroupKey this filter was assigned to.

labelstring · min: 1Required

Filter label.

queryStatementstringOptional

When mode == STATEMENT, the VQL query.

forWorkflowbooleanRequired

Intended for workflows.

Default: false
outputReportGroupIdentifierstringOptional

Identifier of an OutputReportGroup (moduleKey=cunit) used as the print template for this preset.

get/cmn/workflow-instances/workflow-instances-preset/{referenceKey}/{referenceId}
GET /cmn/workflow-instances/workflow-instances-preset/{referenceKey}/{referenceId} HTTP/1.1
Host: api.example.com
Accept: */*
200

Workflow instance found.

{
  "version": "text",
  "info": {
    "createdAt": "2026-01-01T00:00:00.000Z",
    "createdFrom": "text",
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "updatedFrom": "text"
  },
  "id": "text",
  "mode": "QUERY",
  "templateId": "text",
  "templateGroupKey": "text",
  "label": "text",
  "uiPayload": {
    "empty": true,
    "array": true,
    "null": true,
    "object": true,
    "float": true,
    "missingNode": true,
    "valueNode": true,
    "container": true,
    "integralNumber": true,
    "binary": true,
    "nodeType": "ARRAY",
    "string": true,
    "pojo": true,
    "short": true,
    "int": true,
    "long": true,
    "double": true,
    "bigDecimal": true,
    "bigInteger": true,
    "boolean": true,
    "floatingPointNumber": true,
    "number": true,
    "embeddedValue": true
  },
  "variables": [],
  "queryStatement": "text",
  "queryPredicate": {
    "type": "JUNCTION",
    "operator": "AND",
    "children": [],
    "property": "text",
    "values": [
      "text"
    ],
    "visible": true,
    "functions": [
      "text"
    ]
  },
  "results": [],
  "sortAndOrders": [],
  "pageable": {
    "limit": 1
  },
  "option": {
    "distinctResult": true
  },
  "transformations": [],
  "arithmeticQueryTerms": [],
  "definition": [
    {
      "_type": "text",
      "definition": "[Circular Reference]",
      "value": "[Circular Reference]"
    }
  ],
  "permissionAggregation": {
    "version": "text",
    "info": {
      "createdAt": "2026-01-01T00:00:00.000Z",
      "createdFrom": "text",
      "updatedAt": "2026-01-01T00:00:00.000Z",
      "updatedFrom": "text"
    },
    "id": "text",
    "userPermissions": [],
    "groupPermissions": [],
    "operationForAllUsers": "READ_ONLY"
  },
  "forWorkflow": false,
  "outputReportGroupIdentifier": "text",
  "userOptions": {
    "version": "text",
    "info": {
      "createdAt": "2026-01-01T00:00:00.000Z",
      "createdFrom": "text",
      "updatedAt": "2026-01-01T00:00:00.000Z",
      "updatedFrom": "text"
    },
    "id": "text",
    "pinned": false
  }
}

Return the latest workflow instance for the given reference

get
Path parameters
referenceIdinteger · int64Required
referenceKeystringRequired
Responses
200

Workflow instance found.

application/json
versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

statestring · enumOptional

Workflow instance status.

Possible values:
get/cmn/workflow-instances/latest-workflow-instance/{referenceKey}/{referenceId}
GET /cmn/workflow-instances/latest-workflow-instance/{referenceKey}/{referenceId} HTTP/1.1
Host: api.example.com
Accept: */*
{
  "version": "text",
  "info": {
    "createdAt": "2026-01-01T00:00:00.000Z",
    "createdFrom": "text",
    "updatedAt": "2026-01-01T00:00:00.000Z",
    "updatedFrom": "text"
  },
  "id": "text",
  "state": "CREATED",
  "workflowRef": {
    "id": "text",
    "label": "text",
    "description": "text",
    "active": true
  },
  "workItems": [],
  "logEntries": []
}

Last updated

Was this helpful?