Download OpenAPI specification:Download
This document contains the KuFlow REST API reference. This API is a fundamental part in the integration of external systems with KuFlow and is used, among others, by the different implementations of the Workers that connect to our network.
A versioning strategy allows our clients to continue using the existing REST API and migrate their applications to the newer API when they are ready.
The scheme followed is a simplification of Semver where only MAJOR versions are differentiated from MINOR or PATCH versions, i.e. a version number of only two levels is used. With this approach, you only have to migrate your applications if you want to upgrade to a MAJOR version of the KuFlow API. In case you want to upgrade to a MINOR version, you can do so without any incompatibility issues.
The versioning of the api is done through the URI Path, that is, the version number is included in the URI Path. The URL structure would be as follows:
https://{endpoint}/v{VERSION}/{api-path}
The API is designed to support idempotency in order to achieve a correct resilience in the implementation of its clients. The way to achieve this is very simple, in the methods that create resources, you simply have to specify a UUID in the input data and the API will respond by creating or returning the resource if it previously existed. With this mechanism, your systems can implement retry logic without worrying about performing data tradeoffs.
Some operations identify resources and documents through URIs instead of plain IDs:
ku: URIs identify KuFlow resources, e.g. ku:process/{processId} or
ku:business-artifact/{businessArtifactId}. Resources that can be referenced this way expose their
URI in a read-only uri field. Documents stored in a resource extend its URI, e.g.
ku:business-artifact/{businessArtifactId}/value-document/{documentId}. A document uploaded and not
linked yet has a URI of its own, ku:storage-staging/{id}.kuflow-file: values are document references: they wrap a ku: document URI together with its
metadata using the format kuflow-file:uri=<ku-uri>;type=<media-type>;size=<bytes>;name=<file-name>;.Operations that receive a document URI accept both the full kuflow-file: reference and the inner
ku: document URI.
This API is documented in OpenAPI format. This file allows you to create REST clients with the technology of your choice automatically.
List all the Principals that have been created and the used credentials has access.
Available sort query values: id, name
| size | integer [ 0 .. 1000 ] Default: 25 The number of records returned within a single API call. |
| page | integer >= 0 Default: 0 The page number of the current page in the returned records, 0 is the first page. |
| sort | Array of strings Sorting criteria in the format: property{,asc|desc}. Example: createdAt,desc Default sort order is ascending. Multiple sort criteria are supported. Please refer to the method description for supported properties. |
| type | string (PrincipalType) Enum: "USER" "APPLICATION" "SYSTEM" Filter principals by type. |
| groupId | Array of strings <uuid> [ items <uuid > ] Filter by group ids. |
| groupCode | Array of strings Filter by group codes. |
| tenantId | Array of strings <uuid> [ items <uuid > ] Filter by tenantId. |
{- "metadata": {
- "size": 25,
- "page": 0,
- "totalElements": 1096,
- "totalPages": 110
}, - "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "USER",
- "name": "string"
}
]
}Returns the requested Principal when has access to do it.
| id required | string <uuid> The resource ID. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "USER",
- "name": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string"
}, - "application": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}List all the Tenants that the credentials used has access to.
Available sort query values: id, name
| size | integer [ 0 .. 1000 ] Default: 25 The number of records returned within a single API call. |
| page | integer >= 0 Default: 0 The page number of the current page in the returned records, 0 is the first page. |
| sort | Array of strings Sorting criteria in the format: property{,asc|desc}. Example: createdAt,desc Default sort order is ascending. Multiple sort criteria are supported. Please refer to the method description for supported properties. |
| tenantId | Array of strings <uuid> [ items <uuid > ] Filter by tenantId. |
{- "metadata": {
- "size": 25,
- "page": 0,
- "totalElements": 1096,
- "totalPages": 110
}, - "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}Returns the requested Tenant when has access to do it.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "plan": "FREE"
}List all the Tenant Users that have been created and the used credentials has access.
Available sort query values: id, createdAt, lastModifiedAt
| size | integer [ 0 .. 1000 ] Default: 25 The number of records returned within a single API call. |
| page | integer >= 0 Default: 0 The page number of the current page in the returned records, 0 is the first page. |
| sort | Array of strings Sorting criteria in the format: property{,asc|desc}. Example: createdAt,desc Default sort order is ascending. Multiple sort criteria are supported. Please refer to the method description for supported properties. |
| groupId | Array of strings <uuid> [ items <uuid > ] Filter by group ids. |
| groupCode | Array of strings Filter by group codes. |
Array of strings <email> [ items <email > ] Filter by email. | |
| tenantId | Array of strings <uuid> [ items <uuid > ] Filter by tenantId. |
{- "metadata": {
- "size": 25,
- "page": 0,
- "totalElements": 1096,
- "totalPages": 110
}, - "content": [
- {
- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "principalId": "0a52818d-1e0c-4e64-848e-4d04f9e914e5",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}
]
}Returns the requested TenantUser when has access to do it.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "principal": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "USER",
- "name": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string"
}, - "application": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}, - "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}List the live Process Definitions that the credentials used can update, each one at its latest version: the draft when there is one, otherwise the current one. Archived ones are not listed, nor the ones with a task whose form is made of elements, a deprecated kind of form.
Available sort query values: name, code
| size | integer [ 0 .. 1000 ] Default: 25 The number of records returned within a single API call. |
| page | integer >= 0 Default: 0 The page number of the current page in the returned records, 0 is the first page. |
| sort | Array of strings Sorting criteria in the format: property{,asc|desc}. Example: createdAt,desc Default sort order is ascending. Multiple sort criteria are supported. Please refer to the method description for supported properties. |
| tenantId | Array of strings <uuid> [ items <uuid > ] Filter by tenantId. |
| processDefinitionCode | Array of strings Filter by process definition codes. |
| state | Array of strings (ProcessDefinitionState) Items Enum: "DRAFT" "PUBLISHED" "UNPUBLISHED" Filter by process definition states. |
| name | string <= 200 characters Filter by the process definitions whose name has every word of this text, in any order, without regard to case or accents. |
{- "metadata": {
- "size": 25,
- "page": 0,
- "totalElements": 1096,
- "totalPages": 110
}, - "content": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "state": "DRAFT",
- "version": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "DRAFT"
}
}
]
}Returns the whole Process Definition when the credentials used can update it: its forms, its tasks and threads,
its actions, schedulers and permissions, and its workflow. Without version, at its latest version: the draft
when there is one, otherwise the current one. An archived one is not found, nor one whose version has a task
whose form is made of elements, a deprecated kind of form.
| id required | string <uuid> The resource ID. |
| version | string <uuid> The id of a version of the process definition. Without it, its latest version. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "state": "DRAFT",
- "version": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "DRAFT"
}, - "revision": "string",
- "encrypted": true,
- "idSequentialSupport": true,
- "startAvailableDate": "2019-08-24T14:15:22Z",
- "endAvailableDate": "2019-08-24T14:15:22Z",
- "workflowEngine": "TEMPORAL",
- "workflowTaskQueue": "string",
- "workflowType": "string",
- "workflowDefinition": { },
- "metadataStructureDataDefinitionCode": "string",
- "entityStructureDataDefinitionCode": "string",
- "rbacEntries": [
- {
- "role": "string",
- "roleName": "string",
- "roleArchived": true,
- "principalType": "TENANT_USER",
- "principalId": "0a52818d-1e0c-4e64-848e-4d04f9e914e5",
- "groupCode": "string",
- "apiKeyCode": "string",
- "tenantUserEmail": "string",
- "expression": "string"
}
], - "actionDefinitions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "DOWNLOADABLE",
- "code": "string",
- "name": "string",
- "executeAtStartup": true,
- "requireConfirmation": true,
- "confirmationDescription": "string",
- "availabilityExpression": "string",
- "icon": "string",
- "roles": [
- "string"
], - "downloadable": {
- "taskQueue": "string",
- "workflowType": "string"
}, - "startWorkflow": {
- "taskQueue": "string",
- "workflowType": "string"
}, - "startRelatedProcess": {
- "processDefinitionId": "00dd2086-81f3-4572-b714-8dfc17219bb3",
- "processDefinitionCode": "string"
}, - "createTask": {
- "processItemDefinitionCode": "string",
- "processItemDefinitionId": "e71f5557-bcee-41b6-ab71-029e6c54f4f6"
}, - "createProcessItemThread": {
- "processItemDefinitionCode": "string",
- "processItemDefinitionId": "e71f5557-bcee-41b6-ab71-029e6c54f4f6"
}, - "sendWorkflowSignal": {
- "signalName": "string",
- "inputDefinition": {
- "type": "FORMIO",
- "schema": { },
- "uiSchema": { },
- "sampleData": { },
- "i18n": { },
- "template": "string"
}
}
}
], - "schedulers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "active": true,
- "frequency": {
- "cronExpression": "string",
- "timeZone": "string"
}, - "policy": {
- "overlapPolicy": "SKIP"
}, - "metadata": { }
}
], - "workflowCompleteRoles": [
- "string"
], - "structureDataDefinitionEntries": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "jsonDefinition": {
- "type": "FORMIO",
- "schema": { },
- "uiSchema": { },
- "sampleData": { },
- "i18n": { },
- "template": "string"
}
}
], - "processItemDefinitions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "type": "TASK",
- "description": "string",
- "notifications": {
- "processItemTaskCreatedCandidates": true,
- "processItemTaskAssignedOwner": true,
- "processItemTaskPendingReminderListed": true,
- "processItemTaskPendingReminder": true
}, - "rbacEntries": [
- {
- "role": "string",
- "roleName": "string",
- "roleArchived": true,
- "principalType": "TENANT_USER",
- "principalId": "0a52818d-1e0c-4e64-848e-4d04f9e914e5",
- "groupCode": "string",
- "apiKeyCode": "string",
- "tenantUserEmail": "string",
- "expression": "string"
}
], - "task": {
- "structureDataDefinitionCode": "string",
- "contextDefinitionCode": "string",
- "robot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "operation": "string",
- "canStartWhenTaskIsClaimed": true,
- "canCompleteTask": true
}, - "aiAssistance": {
- "enabled": true,
- "prompt": "string"
}
}
}
]
}Replaces the Process Definition with the one given, whole, as GET returns it, when the credentials used can
update it. Its revision and its version have to be the ones that the definition has now, at its latest
version: otherwise the answer is a conflict (409), because it changed after it was read. One equal to the one
that the definition has changes nothing and is not a conflict, whatever its revision.
Strict, and all or nothing: a property that is not known, a value that is not valid or a change outside what can be changed yet is a bad request (400) with one error for each, whose location is the JSON Pointer of the change in the Process Definition given, and nothing is applied.
What can be changed yet, all of it in the draft, which a published definition gets when it has none:
structureDataDefinitionEntries) and its tasks and threads (processItemDefinitions): add,
remove or change them. They are matched by their id, and a new one comes with a new UUID that the client
gives.jsonDefinition, but its type). Of a task, what it does (its task).Codes, types and permissions (rbacEntries) do not change. A new task or thread has no permissions, and it
needs a description, as every one has it. Removing what another part names (the form of a task, the form of
the metadata or of the entity, or the task or thread that an action creates) is a bad request that says who
names it. Nothing is published.
With dryRun, nothing is applied, and the answer is the Process Definition as it would be. When the changes
would start a draft, the id of its version is not kept, nor is the revision.
| id required | string <uuid> The resource ID. |
| dryRun | boolean Default: false When true, nothing is applied, and the answer is what it would be. |
The whole Process Definition, as it has to be.
| createdBy | string <uuid> Who create this model. |
| createdAt | string <date-time> When this model was created. |
| lastModifiedBy | string <uuid> Who was last update this model. |
| lastModifiedAt | string <date-time> When this model type was last updated. |
| id required | string <uuid> |
| code required | string |
| name required | string |
| description | string |
| tenantId required | string <uuid> |
| state required | string (ProcessDefinitionState) Enum: "DRAFT" "PUBLISHED" "UNPUBLISHED" State of a Process Definition: DRAFT if it was never published, PUBLISHED if processes can be created from it, and UNPUBLISHED if no process can be created from it anymore. |
required | object (ProcessDefinitionVersion) |
| revision required | string A hash of the whole definition at this version. Any change in it gives another one, including a change in its permissions or its schedulers. |
| encrypted | boolean |
| idSequentialSupport | boolean |
| startAvailableDate | string <date-time> |
| endAvailableDate | string <date-time> |
| workflowEngine required | string (ProcessDefinitionWorkflowEngine) Enum: "TEMPORAL" "WEBHOOK" "SERVERLESS_WORKFLOW" "SERVERLESS_WORKFLOW_V2" "NONE" What runs the processes of a Process Definition. |
| workflowTaskQueue | string |
| workflowType | string |
object The serverless workflow, as JSON. Only with a SERVERLESS_WORKFLOW or SERVERLESS_WORKFLOW_V2 engine. | |
| metadataStructureDataDefinitionCode | string The code of the form of the metadata of its processes. |
| entityStructureDataDefinitionCode | string The code of the form of the entity of its processes. |
required | Array of objects (ProcessDefinitionRbacEntry) |
required | Array of objects (ProcessDefinitionActionDefinition) |
required | Array of objects (ProcessDefinitionScheduler) |
| workflowCompleteRoles required | Array of strings |
required | Array of objects (ProcessDefinitionStructureDataDefinitionEntry) The forms of the definition and of its tasks. |
required | Array of objects (ProcessItemDefinition) Its tasks and threads. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "state": "DRAFT",
- "version": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "DRAFT"
}, - "revision": "string",
- "encrypted": true,
- "idSequentialSupport": true,
- "startAvailableDate": "2019-08-24T14:15:22Z",
- "endAvailableDate": "2019-08-24T14:15:22Z",
- "workflowEngine": "TEMPORAL",
- "workflowTaskQueue": "string",
- "workflowType": "string",
- "workflowDefinition": { },
- "metadataStructureDataDefinitionCode": "string",
- "entityStructureDataDefinitionCode": "string",
- "rbacEntries": [
- {
- "role": "string",
- "roleName": "string",
- "roleArchived": true,
- "principalType": "TENANT_USER",
- "principalId": "0a52818d-1e0c-4e64-848e-4d04f9e914e5",
- "groupCode": "string",
- "apiKeyCode": "string",
- "tenantUserEmail": "string",
- "expression": "string"
}
], - "actionDefinitions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "DOWNLOADABLE",
- "code": "string",
- "name": "string",
- "executeAtStartup": true,
- "requireConfirmation": true,
- "confirmationDescription": "string",
- "availabilityExpression": "string",
- "icon": "string",
- "roles": [
- "string"
], - "downloadable": {
- "taskQueue": "string",
- "workflowType": "string"
}, - "startWorkflow": {
- "taskQueue": "string",
- "workflowType": "string"
}, - "startRelatedProcess": {
- "processDefinitionId": "00dd2086-81f3-4572-b714-8dfc17219bb3",
- "processDefinitionCode": "string"
}, - "createTask": {
- "processItemDefinitionCode": "string",
- "processItemDefinitionId": "e71f5557-bcee-41b6-ab71-029e6c54f4f6"
}, - "createProcessItemThread": {
- "processItemDefinitionCode": "string",
- "processItemDefinitionId": "e71f5557-bcee-41b6-ab71-029e6c54f4f6"
}, - "sendWorkflowSignal": {
- "signalName": "string",
- "inputDefinition": {
- "type": "FORMIO",
- "schema": { },
- "uiSchema": { },
- "sampleData": { },
- "i18n": { },
- "template": "string"
}
}
}
], - "schedulers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "active": true,
- "frequency": {
- "cronExpression": "string",
- "timeZone": "string"
}, - "policy": {
- "overlapPolicy": "SKIP"
}, - "metadata": { }
}
], - "workflowCompleteRoles": [
- "string"
], - "structureDataDefinitionEntries": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "jsonDefinition": {
- "type": "FORMIO",
- "schema": { },
- "uiSchema": { },
- "sampleData": { },
- "i18n": { },
- "template": "string"
}
}
], - "processItemDefinitions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "type": "TASK",
- "description": "string",
- "notifications": {
- "processItemTaskCreatedCandidates": true,
- "processItemTaskAssignedOwner": true,
- "processItemTaskPendingReminderListed": true,
- "processItemTaskPendingReminder": true
}, - "rbacEntries": [
- {
- "role": "string",
- "roleName": "string",
- "roleArchived": true,
- "principalType": "TENANT_USER",
- "principalId": "0a52818d-1e0c-4e64-848e-4d04f9e914e5",
- "groupCode": "string",
- "apiKeyCode": "string",
- "tenantUserEmail": "string",
- "expression": "string"
}
], - "task": {
- "structureDataDefinitionCode": "string",
- "contextDefinitionCode": "string",
- "robot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "operation": "string",
- "canStartWhenTaskIsClaimed": true,
- "canCompleteTask": true
}, - "aiAssistance": {
- "enabled": true,
- "prompt": "string"
}
}
}
]
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "state": "DRAFT",
- "version": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "state": "DRAFT"
}, - "revision": "string",
- "encrypted": true,
- "idSequentialSupport": true,
- "startAvailableDate": "2019-08-24T14:15:22Z",
- "endAvailableDate": "2019-08-24T14:15:22Z",
- "workflowEngine": "TEMPORAL",
- "workflowTaskQueue": "string",
- "workflowType": "string",
- "workflowDefinition": { },
- "metadataStructureDataDefinitionCode": "string",
- "entityStructureDataDefinitionCode": "string",
- "rbacEntries": [
- {
- "role": "string",
- "roleName": "string",
- "roleArchived": true,
- "principalType": "TENANT_USER",
- "principalId": "0a52818d-1e0c-4e64-848e-4d04f9e914e5",
- "groupCode": "string",
- "apiKeyCode": "string",
- "tenantUserEmail": "string",
- "expression": "string"
}
], - "actionDefinitions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "DOWNLOADABLE",
- "code": "string",
- "name": "string",
- "executeAtStartup": true,
- "requireConfirmation": true,
- "confirmationDescription": "string",
- "availabilityExpression": "string",
- "icon": "string",
- "roles": [
- "string"
], - "downloadable": {
- "taskQueue": "string",
- "workflowType": "string"
}, - "startWorkflow": {
- "taskQueue": "string",
- "workflowType": "string"
}, - "startRelatedProcess": {
- "processDefinitionId": "00dd2086-81f3-4572-b714-8dfc17219bb3",
- "processDefinitionCode": "string"
}, - "createTask": {
- "processItemDefinitionCode": "string",
- "processItemDefinitionId": "e71f5557-bcee-41b6-ab71-029e6c54f4f6"
}, - "createProcessItemThread": {
- "processItemDefinitionCode": "string",
- "processItemDefinitionId": "e71f5557-bcee-41b6-ab71-029e6c54f4f6"
}, - "sendWorkflowSignal": {
- "signalName": "string",
- "inputDefinition": {
- "type": "FORMIO",
- "schema": { },
- "uiSchema": { },
- "sampleData": { },
- "i18n": { },
- "template": "string"
}
}
}
], - "schedulers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "active": true,
- "frequency": {
- "cronExpression": "string",
- "timeZone": "string"
}, - "policy": {
- "overlapPolicy": "SKIP"
}, - "metadata": { }
}
], - "workflowCompleteRoles": [
- "string"
], - "structureDataDefinitionEntries": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "jsonDefinition": {
- "type": "FORMIO",
- "schema": { },
- "uiSchema": { },
- "sampleData": { },
- "i18n": { },
- "template": "string"
}
}
], - "processItemDefinitions": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "type": "TASK",
- "description": "string",
- "notifications": {
- "processItemTaskCreatedCandidates": true,
- "processItemTaskAssignedOwner": true,
- "processItemTaskPendingReminderListed": true,
- "processItemTaskPendingReminder": true
}, - "rbacEntries": [
- {
- "role": "string",
- "roleName": "string",
- "roleArchived": true,
- "principalType": "TENANT_USER",
- "principalId": "0a52818d-1e0c-4e64-848e-4d04f9e914e5",
- "groupCode": "string",
- "apiKeyCode": "string",
- "tenantUserEmail": "string",
- "expression": "string"
}
], - "task": {
- "structureDataDefinitionCode": "string",
- "contextDefinitionCode": "string",
- "robot": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "operation": "string",
- "canStartWhenTaskIsClaimed": true,
- "canCompleteTask": true
}, - "aiAssistance": {
- "enabled": true,
- "prompt": "string"
}
}
}
]
}List all the Processes that have been created and the credentials has access.
Available sort query values: id, createdAt, lastModifiedAt
| size | integer [ 0 .. 1000 ] Default: 25 The number of records returned within a single API call. |
| page | integer >= 0 Default: 0 The page number of the current page in the returned records, 0 is the first page. |
| sort | Array of strings Sorting criteria in the format: property{,asc|desc}. Example: createdAt,desc Default sort order is ascending. Multiple sort criteria are supported. Please refer to the method description for supported properties. |
| tenantId | Array of strings <uuid> [ items <uuid > ] Filter by tenantId. |
| processDefinitionId | Array of strings <uuid> [ items <uuid > ] Filter by process definition ids. |
| processDefinitionCode | Array of strings Filter by process definition codes. |
| state | Array of strings (ProcessState) Items Enum: "RUNNING" "COMPLETED" "CANCELLED" Filter by an array of process states. |
| initiatorId | Array of strings <uuid> [ items <uuid > ] Filter by an array of initiator ids, Principal ID. |
| initiatorEmail | Array of strings <email> [ items <email > ] Filter by an array of initiator emails. |
| metadata | Array of strings[ items^\S+ (eq|le|ge|between|contains|in) \S+( \S+)... ] Example: metadata=invoiceNumber eq INV-001&metadata=amount ge 100 Filter by process metadata field values. Each value is an expression with the format
Supported operations: Filtering by metadata requires specifying exactly one |
| deleted | string (DeletedQueryParam) Enum: "EXCLUDE" "INCLUDE" "ONLY" Deleted Processes filtering mode; when omitted, |
{- "metadata": {
- "size": 25,
- "page": 0,
- "totalElements": 1096,
- "totalPages": 110
}, - "content": [
- {
- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "state": "RUNNING",
- "processDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}
]
}Creates a process. This option has direct correspondence to the action of starting a process in the Kuflow GUI.
If you want the method to be idempotent, please specify the id field in the request body.
Process to create
| id | string <uuid> |
| processDefinitionId required | string <uuid> |
| tenantId | string <uuid> |
| processDefinitionCode | string |
object (JsonValue) Json value. | |
object (JsonValue) Json value. | |
| initiatorId | string <uuid> |
| initiatorEmail | string <email> |
| relatedProcessId | string <uuid> Optional id of another process to which the created process is
related. Surfaced on read as |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "processDefinitionId": "00dd2086-81f3-4572-b714-8dfc17219bb3",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "processDefinitionCode": "string",
- "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "initiatorEmail": "user@example.com",
- "relatedProcessId": "661a8039-0357-4bb1-bd1d-392b71b5be31"
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "state": "RUNNING",
- "processDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "processRelated": {
- "incoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "outcoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}Returns the requested Process when has access to do it. A deleted Process is returned too, with its
deletedAt and deletedBy fields set.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "state": "RUNNING",
- "processDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "processRelated": {
- "incoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "outcoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}Deletes the requested Process, and its Process Items with it. Only a finished Process (COMPLETED or
CANCELLED) with nothing in progress, neither tasks still to be done nor workflows of its actions still
running, can be deleted; otherwise it answers conflict. The deletion is soft: the Process is still returned
by id and with deleted=INCLUDE|ONLY, with its deletedAt and deletedBy fields set, but it cannot be
restored. Deleting a Process that is already deleted does nothing.
| id required | string <uuid> The resource ID. |
{- "timestamp": "2019-08-24T14:15:22Z",
- "status": 0,
- "message": "string",
- "errors": [
- {
- "code": "string",
- "message": "string",
- "location": "string",
- "locationType": "string"
}
]
}Invoke an action on a Process.
Whether the call returns synchronously or asynchronously depends on the action type:
START_WORKFLOW, DOWNLOADABLE: dispatched to a background worker. The
response returns immediately with status=REQUESTED. Poll
retrieveProcessAction for the final state.START_RELATED_PROCESS, CREATE_TASK, CREATE_PROCESS_ITEM_MESSAGE,
CREATE_PROCESS_ITEM_THREAD, SEND_WORKFLOW_SIGNAL: completed synchronously.
The response returns with status=COMPLETED (or an error status).If you want the method to be idempotent, please specify the id field in the request body.
Actions of type SEND_WORKFLOW_SIGNAL whose definition declares an input form accept a
sendWorkflowSignal.input payload: it is validated against the definition schema,
persisted on the action and delivered inside the workflow signal. The input is not part
of the idempotency key — replaying the same id with a different input returns the
original action untouched.
| id required | string <uuid> The resource ID. |
Params identifying the action to invoke.
| id | string <uuid> |
| processActionDefinitionCode required | string |
object (ProcessActionCreateParamsCreateTask) Params for invoking an action of type CREATE_TASK. | |
object (ProcessActionCreateParamsCreateProcessItemMessage) Params for invoking an action of type CREATE_PROCESS_ITEM_MESSAGE.
Messages are created through the built-in | |
object (ProcessActionCreateParamsStartRelatedProcess) Params for invoking an action of type START_RELATED_PROCESS. | |
object (ProcessActionCreateParamsSendWorkflowSignal) Params for invoking an action of type SEND_WORKFLOW_SIGNAL. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "processActionDefinitionCode": "string",
- "createTask": {
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f"
}, - "createProcessItemMessage": {
- "text": "string",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f"
}, - "startRelatedProcess": {
- "metadata": { },
- "entity": { }
}, - "sendWorkflowSignal": {
- "input": { }
}
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "DOWNLOADABLE",
- "status": "REQUESTED",
- "processActionDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "downloadable": {
- "documentUri": "string",
- "documentExpired": true
}, - "startRelatedProcess": {
- "processDefinitionId": "00dd2086-81f3-4572-b714-8dfc17219bb3",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9"
}, - "createTask": {
- "processItemId": "0aa44b4e-96fc-4e4f-a3ae-0fb2181275c9"
}, - "createProcessItemMessage": {
- "processItemId": "0aa44b4e-96fc-4e4f-a3ae-0fb2181275c9"
}, - "createProcessItemThread": {
- "processItemId": "0aa44b4e-96fc-4e4f-a3ae-0fb2181275c9"
}, - "sendWorkflowSignal": {
- "signalName": "string",
- "input": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}
}Returns a Process action by its ID.
| id required | string <uuid> The resource ID. |
| actionId required | string <uuid> The Process action ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "DOWNLOADABLE",
- "status": "REQUESTED",
- "processActionDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "downloadable": {
- "documentUri": "string",
- "documentExpired": true
}, - "startRelatedProcess": {
- "processDefinitionId": "00dd2086-81f3-4572-b714-8dfc17219bb3",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9"
}, - "createTask": {
- "processItemId": "0aa44b4e-96fc-4e4f-a3ae-0fb2181275c9"
}, - "createProcessItemMessage": {
- "processItemId": "0aa44b4e-96fc-4e4f-a3ae-0fb2181275c9"
}, - "createProcessItemThread": {
- "processItemId": "0aa44b4e-96fc-4e4f-a3ae-0fb2181275c9"
}, - "sendWorkflowSignal": {
- "signalName": "string",
- "input": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}
}Cancel a Process action.
Only meaningful for asynchronous actions still in REQUESTED state. The
action's status is set to CANCELED. If the action is already in a
terminal state, no transition occurs.
| id required | string <uuid> The resource ID. |
| actionId required | string <uuid> The Process action ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "DOWNLOADABLE",
- "status": "REQUESTED",
- "processActionDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "downloadable": {
- "documentUri": "string",
- "documentExpired": true
}, - "startRelatedProcess": {
- "processDefinitionId": "00dd2086-81f3-4572-b714-8dfc17219bb3",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9"
}, - "createTask": {
- "processItemId": "0aa44b4e-96fc-4e4f-a3ae-0fb2181275c9"
}, - "createProcessItemMessage": {
- "processItemId": "0aa44b4e-96fc-4e4f-a3ae-0fb2181275c9"
}, - "createProcessItemThread": {
- "processItemId": "0aa44b4e-96fc-4e4f-a3ae-0fb2181275c9"
}, - "sendWorkflowSignal": {
- "signalName": "string",
- "input": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}
}Complete a Process. The state of Process is set to 'completed'.
If you are already in this state, no action is taken.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "state": "RUNNING",
- "processDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "processRelated": {
- "incoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "outcoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}Cancel a Process. The Process state is set to 'cancelled'.
All the active process items will be marked as cancelled too.
If you are already in this state, no action is taken.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "state": "RUNNING",
- "processDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "processRelated": {
- "incoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "outcoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}Cancel Process Items in a Process.
When processItemId query parameters are provided, only those specific process items are cancelled. When omitted, all active process items in the process are cancelled.
For task process items, tasks in a cancellable state (ready, claimed) are set to 'cancelled'. Already cancelled tasks are treated as a no-op. The Process itself is not affected.
| id required | string <uuid> The resource ID. |
| processItemId | Array of strings <uuid> [ items <uuid > ] Optional list of process item IDs to cancel. If omitted, all active process items are cancelled. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "state": "RUNNING",
- "processDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "processRelated": {
- "incoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "outcoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}Change the current initiator of a process.
Allows you to choose a user (by email or principal identifier) or an application (principal identifier). Only one option will be necessary.
| id required | string <uuid> The resource ID. |
Params to change the process initiator.
| initiatorId | string <uuid> |
| initiatorEmail | string <email> |
{- "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "initiatorEmail": "user@example.com"
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "state": "RUNNING",
- "processDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "processRelated": {
- "incoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "outcoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}| id required | string <uuid> The resource ID. |
Params to save the metadata data.
required | object (JsonValue) Json value. | ||||||
| |||||||
{- "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "state": "RUNNING",
- "processDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "processRelated": {
- "incoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "outcoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}Allow to patch a JSON data validating that the data follow the related schema. If the data is invalid, then the json is marked as invalid.
| id required | string <uuid> The resource ID. |
Params to save the JSON value.
| op required | string (JsonPatchOperationType) Enum: "add" "remove" "replace" "move" "copy" "test" The operation to perform. |
| from | string A JSON Pointer path used when op is "copy" or "move". |
| path required | string A JSON Pointer path. |
| value | any The value to "add", "replace" or "test". |
[- {
- "op": "add",
- "from": "string",
- "path": "string",
- "value": null
}
]{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "state": "RUNNING",
- "processDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "processRelated": {
- "incoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "outcoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}Allow to save a JSON validating that the data follow the related schema. If the data is invalid, then the json form is marked as invalid.
| id required | string <uuid> The resource ID. |
Params to save the JSON value.
required | object (JsonValue) Json value. | ||||||
| |||||||
{- "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "state": "RUNNING",
- "processDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "processRelated": {
- "incoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "outcoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}Allow to patch a JSON data validating that the data follow the related schema. If the data is invalid, then the json is marked as invalid.
| id required | string <uuid> The resource ID. |
Params to save the JSON value.
| op required | string (JsonPatchOperationType) Enum: "add" "remove" "replace" "move" "copy" "test" The operation to perform. |
| from | string A JSON Pointer path used when op is "copy" or "move". |
| path required | string A JSON Pointer path. |
| value | any The value to "add", "replace" or "test". |
[- {
- "op": "add",
- "from": "string",
- "path": "string",
- "value": null
}
]{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "state": "RUNNING",
- "processDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "metadata": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "entity": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "processRelated": {
- "incoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "outcoming": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "initiatorId": "b631b8d8-c217-4b56-82fc-36ea91cf342a",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}Upload a temporal document that later on must be linked with a domain resource. It behaves as the
uploadDocument operation: the process of the path must be readable by the credentials, but the document
is not bound to it and can be linked to any resource the credentials can update.
Deprecated: use the uploadDocument operation instead.
| id required | string <uuid> The resource ID. |
| fileContentType required | string Document content type |
| fileName required | string Document name |
Document to save.
{- "documentUri": "string"
}Given a document uri download a document.
Deprecated: use the downloadDocument operation instead; it resolves any document the
credentials can read without requiring the owning Process in the path.
| id required | string <uuid> The resource ID. |
| documentUri required | string Document URI to download. |
{- "timestamp": "2019-08-24T14:15:22Z",
- "status": 0,
- "message": "string",
- "errors": [
- {
- "code": "string",
- "message": "string",
- "location": "string",
- "locationType": "string"
}
]
}List all Process Items that have been created and the credentials has access.
Available sort query values: id, createdAt, lastModifiedAt, claimedAt, completedAt, cancelledAt
| size | integer [ 0 .. 1000 ] Default: 25 The number of records returned within a single API call. |
| page | integer >= 0 Default: 0 The page number of the current page in the returned records, 0 is the first page. |
| sort | Array of strings Sorting criteria in the format: property{,asc|desc}. Example: createdAt,desc Default sort order is ascending. Multiple sort criteria are supported. Please refer to the method description for supported properties. |
| processId | Array of strings <uuid> [ items <uuid > ] Filter by an array of process ids. |
| type | Array of strings (ProcessItemType) Items Enum: "TASK" "MESSAGE" "THREAD" Filter by an array of type. |
| taskState | Array of strings (ProcessItemTaskState) Items Enum: "READY" "CLAIMED" "COMPLETED" "CANCELLED" Filter by an array of task states. |
| processItemDefinitionCode | Array of strings Filter by an array of task definition codes. |
| processDefinitionId | Array of strings <uuid> [ items <uuid > ] Filter by process definition ids. |
| processDefinitionCode | Array of strings Filter by process definition codes. |
| tenantId | Array of strings <uuid> [ items <uuid > ] Filter by tenantId. |
| deleted | string (DeletedQueryParam) Enum: "EXCLUDE" "INCLUDE" "ONLY" Deleted Process Items filtering mode; when omitted, |
{- "metadata": {
- "size": 25,
- "page": 0,
- "totalElements": 1096,
- "totalPages": 110
}, - "content": [
- {
- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "type": "TASK",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f",
- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "processItemDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "task": {
- "state": "READY"
}, - "message": {
- "text": "string",
- "dataStructureDataDefinitionCode": "string"
}
}
]
}Create a Process Item and optionally fill its value.
To create a TASK or a MESSAGE inside a thread, set processItemThreadId to the id of a Process Item of
type THREAD that belongs to the same Process.
If you want to add document type elements, you can pass a reference to an existing document type element indicating its 'uri'. This will copy that document into the element. In case you want to add a new document, please use the corresponding API method.
If you want the method to be idempotent, please specify the id field in the request body.
Process Item to be created
| id | string <uuid> |
| type required | string (ProcessItemType) Enum: "TASK" "MESSAGE" "THREAD" Process Item Type |
| processId required | string <uuid> |
| processItemThreadId | string <uuid> ID of the thread Process Item the created item is attached to. Only allowed for items
of type |
| ownerId | string <uuid> |
| ownerEmail | string <email> |
| processItemDefinitionCode | string |
object (ProcessItemTaskCreateParams) | |
object (ProcessItemMessageCreateParams) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "TASK",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f",
- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "ownerEmail": "user@example.com",
- "processItemDefinitionCode": "string",
- "task": {
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "contextData": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}, - "message": {
- "text": "string",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "dataStructureDataDefinitionCode": "string"
}
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "type": "TASK",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f",
- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "processItemDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "task": {
- "state": "READY",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "contextData": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "logs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "message": "string",
- "level": "INFO"
}
]
}, - "message": {
- "text": "string",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "dataStructureDataDefinitionCode": "string"
}
}Allow to get a process item by ID. A deleted Process Item (the ones of a deleted Process) is returned too,
with its deletedAt and deletedBy fields set.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "type": "TASK",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f",
- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "processItemDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "task": {
- "state": "READY",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "contextData": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "logs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "message": "string",
- "level": "INFO"
}
]
}, - "message": {
- "text": "string",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "dataStructureDataDefinitionCode": "string"
}
}Return the status of the latest AI assistance run for the given process item.
Poll this endpoint after triggering generateProcessItemAiAssistance to determine when
the run has finished. Returns 404 when no run has ever been triggered for the process item.
| id required | string <uuid> The resource ID. |
{- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "state": "PENDING",
- "embeddingPending": 0,
- "embeddingProcessing": 0,
- "retryAfterSeconds": 0,
- "model": "string",
- "finishReason": "string",
- "errorCode": "string",
- "errorMessage": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z"
}Trigger an asynchronous AI assistance run for a process item and return its current state, identified
by a client-supplied requestId (UUID). The requestId makes the call idempotent and lets a
client launch successive AI assistance attempts on the same process item — one at a time.
Behavior given the latest persisted run (if any) for the process item:
requestId matches the incoming one → returns the current state of that run
without scheduling a new one (200). Use this to poll your own attempt.requestId differs and the run is in a final state (COMPLETED or FAILED) →
schedules a new run on the same record, replacing the previous result (202).requestId differs and the run is still PENDING → rejected with 409, since
another AI assistance attempt is already in progress on this process item.The AI prompt configuration comes from the process item definition.
| id required | string <uuid> The resource ID. |
Params identifying this AI assistance attempt.
| requestId required | string <uuid> Client-supplied UUID identifying this logical AI assistance attempt. Use the same
|
{- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6"
}{- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "state": "PENDING",
- "embeddingPending": 0,
- "embeddingProcessing": 0,
- "retryAfterSeconds": 0,
- "model": "string",
- "finishReason": "string",
- "errorCode": "string",
- "errorMessage": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z"
}Allow to claim a task.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "type": "TASK",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f",
- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "processItemDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "task": {
- "state": "READY",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "contextData": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "logs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "message": "string",
- "level": "INFO"
}
]
}, - "message": {
- "text": "string",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "dataStructureDataDefinitionCode": "string"
}
}Allow to assign a process item task to a user or application. Only one option will be necessary.
| id required | string <uuid> The resource ID. |
Params to change the process item task owner.
| ownerId | string <uuid> |
| ownerEmail | string <email> |
{- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "ownerEmail": "user@example.com"
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "type": "TASK",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f",
- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "processItemDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "task": {
- "state": "READY",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "contextData": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "logs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "message": "string",
- "level": "INFO"
}
]
}, - "message": {
- "text": "string",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "dataStructureDataDefinitionCode": "string"
}
}Allow to complete a claimed task by the principal.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "type": "TASK",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f",
- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "processItemDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "task": {
- "state": "READY",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "contextData": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "logs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "message": "string",
- "level": "INFO"
}
]
}, - "message": {
- "text": "string",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "dataStructureDataDefinitionCode": "string"
}
}A log entry is added to the task. If the number of log entries is reached, the oldest log entry is removed.
| id required | string <uuid> The resource ID. |
Log to be created.
| message required | string |
| level required | string (ProcessItemTaskLogLevel) Enum: "INFO" "WARN" "ERROR" |
{- "message": "string",
- "level": "INFO"
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "type": "TASK",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f",
- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "processItemDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "task": {
- "state": "READY",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "contextData": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "logs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "message": "string",
- "level": "INFO"
}
]
}, - "message": {
- "text": "string",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "dataStructureDataDefinitionCode": "string"
}
}Allow to save a JSON data validating that the data follow the related schema. If the data is invalid, then the json form is marked as invalid.
| id required | string <uuid> The resource ID. |
Params used to update the JSON value.
required | object (JsonValue) Json value. | ||||||
| |||||||
{- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "type": "TASK",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f",
- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "processItemDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "task": {
- "state": "READY",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "contextData": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "logs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "message": "string",
- "level": "INFO"
}
]
}, - "message": {
- "text": "string",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "dataStructureDataDefinitionCode": "string"
}
}Allow to patch a JSON data validating that the data follow the related schema. If the data is invalid, then the json is marked as invalid.
| id required | string <uuid> The resource ID. |
Params to save the JSON value.
| op required | string (JsonPatchOperationType) Enum: "add" "remove" "replace" "move" "copy" "test" The operation to perform. |
| from | string A JSON Pointer path used when op is "copy" or "move". |
| path required | string A JSON Pointer path. |
| value | any The value to "add", "replace" or "test". |
[- {
- "op": "add",
- "from": "string",
- "path": "string",
- "value": null
}
]{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "type": "TASK",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f",
- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "processItemDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "task": {
- "state": "READY",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "contextData": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "logs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "message": "string",
- "level": "INFO"
}
]
}, - "message": {
- "text": "string",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "dataStructureDataDefinitionCode": "string"
}
}Allow to save a JSON context data validating that the data follow the related schema. If the data is invalid, then the json form is marked as invalid.
| id required | string <uuid> The resource ID. |
Params used to update the JSON context data value.
required | object (JsonValue) Json value. | ||||||
| |||||||
{- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "type": "TASK",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processItemThreadId": "8803ecf4-67f8-4d76-abd2-6fc8106ea32f",
- "ownerId": "4d206909-730f-409a-88f6-dcfaa8fc28cc",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "processItemDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "8b898373-21c7-4028-b85f-cc5068e68df9",
- "code": "string"
}, - "task": {
- "state": "READY",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "contextData": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "logs": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "timestamp": "2019-08-24T14:15:22Z",
- "message": "string",
- "level": "INFO"
}
]
}, - "message": {
- "text": "string",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "dataStructureDataDefinitionCode": "string"
}
}Given a task, generate a PDF from a Form type element with the data filled in, if any. If there are multiple form values, they are packed into a ZIP.
Important!: To use this feature, please contact to kuflow@kuflow.com
| id required | string <uuid> The resource ID. |
| propertyPath required | string JSON pointer to the property with the error. See: https://datatracker.ietf.org/doc/html/rfc6901 ie: /user/name or /users/1/name |
{- "timestamp": "2019-08-24T14:15:22Z",
- "status": 0,
- "message": "string",
- "errors": [
- {
- "code": "string",
- "message": "string",
- "location": "string",
- "locationType": "string"
}
]
}Operations about business artifacts.
List all the Business Artifacts that have been created and the credentials has access.
Available sort query values: id, createdAt, lastModifiedAt
| size | integer [ 0 .. 1000 ] Default: 25 The number of records returned within a single API call. |
| page | integer >= 0 Default: 0 The page number of the current page in the returned records, 0 is the first page. |
| sort | Array of strings Sorting criteria in the format: property{,asc|desc}. Example: createdAt,desc Default sort order is ascending. Multiple sort criteria are supported. Please refer to the method description for supported properties. |
| tenantId | Array of strings <uuid> [ items <uuid > ] Filter by tenantId. |
| businessArtifactDefinitionId | Array of strings <uuid> [ items <uuid > ] Filter by an array of business artifact definition ids. |
| businessArtifactDefinitionCode | Array of strings Filter by an array of business artifact definition codes. |
| value | Array of strings[ items^\S+ (eq|le|ge|between|contains|in) \S+( \S+)... ] Example: value=myField eq someValue&value=amount ge 100&value=amount between 10 20&value=status in active inactive Filter by indexed field values. Each value is an expression with the format
Supported operations: |
| deleted | string (DeletedQueryParam) Enum: "EXCLUDE" "INCLUDE" "ONLY" Soft-deleted Business Artifacts filtering mode; when omitted, |
{- "metadata": {
- "size": 25,
- "page": 0,
- "totalElements": 1096,
- "totalPages": 110
}, - "content": [
- {
- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}
}
]
}Creates a Business Artifact.
If you want the method to be idempotent, please specify the id field in the request body.
Business Artifact to create
| id | string <uuid> |
| businessArtifactDefinitionId required | string <uuid> |
| tenantId | string <uuid> |
| businessArtifactDefinitionCode | string |
object (JsonValue) Json value. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "businessArtifactDefinitionId": "058fe180-b10e-486d-9fe7-9fcba9a5e5b7",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "businessArtifactDefinitionCode": "string",
- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}Returns the requested Business Artifact when has access to do it.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}Deletes the requested Business Artifact. The deletion is soft: the Business Artifact can be
brought back with the restoreBusinessArtifact operation.
| id required | string <uuid> The resource ID. |
{- "timestamp": "2019-08-24T14:15:22Z",
- "status": 0,
- "message": "string",
- "errors": [
- {
- "code": "string",
- "message": "string",
- "location": "string",
- "locationType": "string"
}
]
}Restore a previously deleted Business Artifact, the undo of the deleteBusinessArtifact
operation. If the Business Artifact is not deleted, no action is taken.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}Allow to save a JSON data validating that the data follow the related schema. If the data is invalid, then the json is marked as invalid.
| id required | string <uuid> The resource ID. |
Params used to update the JSON value.
required | object (JsonValue) Json value. | ||||||
| |||||||
{- "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}Allow to patch a JSON data validating that the data follow the related schema. If the data is invalid, then the json is marked as invalid.
| id required | string <uuid> The resource ID. |
Params to save the JSON value.
| op required | string (JsonPatchOperationType) Enum: "add" "remove" "replace" "move" "copy" "test" The operation to perform. |
| from | string A JSON Pointer path used when op is "copy" or "move". |
| path required | string A JSON Pointer path. |
| value | any The value to "add", "replace" or "test". |
[- {
- "op": "add",
- "from": "string",
- "path": "string",
- "value": null
}
]{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "deletedBy": "27f98a93-27e2-453c-b1c3-4780c8067d7c",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "uri": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "data": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}Invoke an action on a Business Artifact.
Whether the call returns synchronously or asynchronously depends on the action type:
START_WORKFLOW, DOWNLOADABLE: dispatched to a background worker. The
response returns immediately with status=REQUESTED. Poll
retrieveBusinessArtifactAction for the final state.START_PROCESS, CREATE_BUSINESS_ARTIFACT: completed synchronously. The
response returns with status=COMPLETED (or an error status).If you want the method to be idempotent, please specify the id field in the request body.
| id required | string <uuid> The resource ID. |
Params identifying the action to invoke.
| id | string <uuid> |
| businessArtifactActionDefinitionCode required | string |
object (BusinessArtifactActionCreateParamsStartWorkflow) Params for invoking an action of type START_WORKFLOW. | |
object (BusinessArtifactActionCreateParamsDownloadable) Params for invoking an action of type DOWNLOADABLE. | |
object (BusinessArtifactActionCreateParamsStartProcess) Params for invoking an action of type START_PROCESS. | |
object (BusinessArtifactActionCreateParamsCreateArtifact) Params for invoking an action of type CREATE_BUSINESS_ARTIFACT. The |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "businessArtifactActionDefinitionCode": "string",
- "startWorkflow": {
- "input": { }
}, - "downloadable": {
- "input": { }
}, - "startProcess": {
- "metadata": { },
- "entity": { }
}, - "createArtifact": {
- "value": { }
}
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "START_WORKFLOW",
- "status": "REQUESTED",
- "businessArtifactActionDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "startWorkflow": {
- "input": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}, - "startProcess": {
- "processDefinitionId": "00dd2086-81f3-4572-b714-8dfc17219bb3",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9"
}, - "downloadable": {
- "input": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "documentUri": "string",
- "documentExpired": true
}, - "createArtifact": {
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "businessArtifactId": "bb24f4db-5028-4bd5-a5ae-31e8d6664c86",
- "value": { }
}
}Returns a Business Artifact action by its ID.
| id required | string <uuid> The resource ID. |
| actionId required | string <uuid> The Business Artifact action ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "START_WORKFLOW",
- "status": "REQUESTED",
- "businessArtifactActionDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "startWorkflow": {
- "input": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}, - "startProcess": {
- "processDefinitionId": "00dd2086-81f3-4572-b714-8dfc17219bb3",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9"
}, - "downloadable": {
- "input": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "documentUri": "string",
- "documentExpired": true
}, - "createArtifact": {
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "businessArtifactId": "bb24f4db-5028-4bd5-a5ae-31e8d6664c86",
- "value": { }
}
}Cancel a Business Artifact action.
Only meaningful for asynchronous actions still in REQUESTED state. The
action's status is set to CANCELED. If the action is already in a
terminal state, no transition occurs.
| id required | string <uuid> The resource ID. |
| actionId required | string <uuid> The Business Artifact action ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "START_WORKFLOW",
- "status": "REQUESTED",
- "businessArtifactActionDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "startWorkflow": {
- "input": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}
}, - "startProcess": {
- "processDefinitionId": "00dd2086-81f3-4572-b714-8dfc17219bb3",
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9"
}, - "downloadable": {
- "input": {
- "valid": true,
- "value": { },
- "errors": [
- {
- "propertyPath": "string",
- "type": "string"
}
]
}, - "documentUri": "string",
- "documentExpired": true
}, - "createArtifact": {
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "businessArtifactId": "bb24f4db-5028-4bd5-a5ae-31e8d6664c86",
- "value": { }
}
}Compute the pre-filled value that a CREATE_BUSINESS_ARTIFACT action would produce
for this Business Artifact, without invoking the action or persisting any state.
Use it to populate a form that the user can review and edit. Once the user submits,
the filled value is sent back via createBusinessArtifactAction (in the
createArtifact.value field).
| id required | string <uuid> The resource ID. |
Params identifying the CREATE_BUSINESS_ARTIFACT action to prepare.
| businessArtifactActionDefinitionCode required | string |
{- "businessArtifactActionDefinitionCode": "string"
}{- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "value": { }
}Compute the pre-filled metadata that a START_PROCESS action would apply to the
process it creates, without invoking the action or persisting any state.
Use it to populate a form that the user can review and edit. Once the user submits,
the filled metadata is sent back via createBusinessArtifactAction (in the
startProcess.metadata field).
| id required | string <uuid> The resource ID. |
Params identifying the START_PROCESS action to prepare.
| businessArtifactActionDefinitionCode required | string |
{- "businessArtifactActionDefinitionCode": "string"
}{- "processDefinitionId": "00dd2086-81f3-4572-b714-8dfc17219bb3",
- "metadata": { }
}Upload a temporal document that later on must be linked with a domain resource. It behaves as the
uploadDocument operation: the business artifact of the path must be readable by the credentials, but the
document is not bound to it and can be linked to any resource the credentials can update.
Deprecated: use the uploadDocument operation instead.
| id required | string <uuid> The resource ID. |
| fileContentType required | string Document content type |
| fileName required | string Document name |
Document to save.
{- "documentUri": "string"
}Given a document uri download a document.
Deprecated: use the downloadDocument operation instead; it resolves any document the
credentials can read without requiring the owning Business Artifact in the path.
| id required | string <uuid> The resource ID. |
| documentUri required | string Document URI to download. |
{- "timestamp": "2019-08-24T14:15:22Z",
- "status": 0,
- "message": "string",
- "errors": [
- {
- "code": "string",
- "message": "string",
- "location": "string",
- "locationType": "string"
}
]
}Creates a thread or a message in the activity feed of a Business Artifact Definition, the feed shown next to its list of Business Artifacts. The credentials need to manage the Business Artifact Definition.
A message goes to the top level of the feed, or into a thread when businessArtifactFeedItemThreadId is set.
Only the author of a thread adds messages to it.
A thread or a message may have a status and a progress, to tell how the work it describes goes.
If you want the method to be idempotent, please specify the id field in the request body.
Business Artifact Feed Item to create
| id | string <uuid> |
| type required | string (BusinessArtifactFeedItemType) Enum: "THREAD" "MESSAGE" Type of a Business Artifact Feed Item. |
| tenantId | string <uuid> |
| businessArtifactDefinitionId | string <uuid> |
| businessArtifactDefinitionCode | string |
| businessArtifactFeedItemThreadId | string <uuid> ID of the thread in which the message is created; without it, the message is created at the top level of
the feed.
Only allowed for items of type |
| status | string (BusinessArtifactFeedItemStatus) Enum: "PENDING" "RUNNING" "COMPLETED" "FAILED" "CANCELED" Status of an item. |
object (BusinessArtifactFeedItemProgress) Progress of an item. Without | |
object (BusinessArtifactFeedItemThreadParams) | |
object (BusinessArtifactFeedItemMessageParams) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "THREAD",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "businessArtifactDefinitionId": "058fe180-b10e-486d-9fe7-9fcba9a5e5b7",
- "businessArtifactDefinitionCode": "string",
- "businessArtifactFeedItemThreadId": "f6b668a4-b602-44ff-b08c-694d297f62c0",
- "status": "PENDING",
- "progress": {
- "completed": 0,
- "total": 1
}, - "thread": {
- "title": "string",
- "description": "string"
}, - "message": {
- "text": "string",
- "level": "INFO"
}
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "THREAD",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "businessArtifactFeedItemThreadId": "f6b668a4-b602-44ff-b08c-694d297f62c0",
- "status": "PENDING",
- "progress": {
- "completed": 0,
- "total": 1
}, - "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "thread": {
- "title": "string",
- "description": "string"
}, - "message": {
- "text": "string",
- "level": "INFO"
}
}Returns the requested Business Artifact Feed Item when has access to do it.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "THREAD",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "businessArtifactFeedItemThreadId": "f6b668a4-b602-44ff-b08c-694d297f62c0",
- "status": "PENDING",
- "progress": {
- "completed": 0,
- "total": 1
}, - "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "thread": {
- "title": "string",
- "description": "string"
}, - "message": {
- "text": "string",
- "level": "INFO"
}
}Replaces what can change of an existing Business Artifact Feed Item: its content, status and progress. It never creates an item. Only its author updates it.
An item in a terminal status (COMPLETED, FAILED, CANCELED) is closed, and so are the messages of a closed
thread: an update that leaves it as it is succeeds, so a retried call is harmless, and any other change is
rejected with a conflict. The status of an item cannot be removed once set.
| id required | string <uuid> The resource ID. |
Params used to update the Business Artifact Feed Item.
| status | string (BusinessArtifactFeedItemStatus) Enum: "PENDING" "RUNNING" "COMPLETED" "FAILED" "CANCELED" Status of an item. |
object (BusinessArtifactFeedItemProgress) Progress of an item. Without | |
object (BusinessArtifactFeedItemThreadParams) | |
object (BusinessArtifactFeedItemMessageParams) |
{- "status": "PENDING",
- "progress": {
- "completed": 0,
- "total": 1
}, - "thread": {
- "title": "string",
- "description": "string"
}, - "message": {
- "text": "string",
- "level": "INFO"
}
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "THREAD",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "businessArtifactDefinitionRef": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string"
}, - "businessArtifactFeedItemThreadId": "f6b668a4-b602-44ff-b08c-694d297f62c0",
- "status": "PENDING",
- "progress": {
- "completed": 0,
- "total": 1
}, - "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "thread": {
- "title": "string",
- "description": "string"
}, - "message": {
- "text": "string",
- "level": "INFO"
}
}Upload a temporal document that later on must be linked with a domain resource.
The document belongs to the credentials that upload it, and its reference has the URI
ku:storage-staging/{id}. Only those credentials can download it and link it, by sending its reference in
the data of any resource they can update: the entity of a process, the data of a task, the value of a
business artifact or the result of a downloadable action. The permission on that resource is checked when the
data is saved. Linking copies the document into the resource, which gets a reference of its own; the uploaded
document can be linked only once, and a save sent again with the same reference is accepted.
Documents not linked are deleted after 2 hours.
| targetUri | string Deprecated Ignored: the document can be linked to any resource the credentials can update. |
| fileContentType required | string Document content type |
| fileName required | string Document name |
Document to save.
{- "documentUri": "string"
}Given a document uri, download its content. Accepts both the kuflow-file: reference returned
by the upload operations and a plain ku: document uri.
The credentials must be able to read the resource that owns the document; a document outside
their reach, or a uri that does not resolve to a document, answers 404.
| documentUri required | string Document URI to download, in |
{- "timestamp": "2019-08-24T14:15:22Z",
- "status": 0,
- "message": "string",
- "errors": [
- {
- "code": "string",
- "message": "string",
- "location": "string",
- "locationType": "string"
}
]
}Register a worker in KuFlow, this allows the platform to have a catalogue of all registered workers.
If already exist a worker for the same identity, the worker will be updated.
Worker to create or update
| identity required | string [ 1 .. 255 ] characters |
| taskQueue required | string [ 1 .. 255 ] characters |
| workflowTypes | Array of strings[ items [ 1 .. 255 ] characters ] |
| activityTypes | Array of strings[ items [ 1 .. 255 ] characters ] |
| hostname required | string [ 1 .. 255 ] characters |
| ip required | string [ 7 .. 40 ] characters |
| installationId | string <uuid> Installation Id. |
| robotIds | Array of strings <uuid> [ items <uuid > ] Robot Ids that this worker implements. |
| tenantId | string <uuid> Tenant ID. |
{- "identity": "string",
- "taskQueue": "string",
- "workflowTypes": [
- "string"
], - "activityTypes": [
- "string"
], - "hostname": "string",
- "ip": "strings",
- "installationId": "7a1bf939-4d70-4439-9ced-a3dbbce12bd7",
- "robotIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "identity": "string",
- "taskQueue": "string",
- "workflowTypes": [
- "string"
], - "activityTypes": [
- "string"
], - "hostname": "string",
- "ip": "strings",
- "installationId": "7a1bf939-4d70-4439-9ced-a3dbbce12bd7",
- "robotIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}List all the Robots that have been created and the credentials has access.
Available sort query values: createdAt, lastModifiedAt
| size | integer [ 0 .. 1000 ] Default: 25 The number of records returned within a single API call. |
| page | integer >= 0 Default: 0 The page number of the current page in the returned records, 0 is the first page. |
| sort | Array of strings Sorting criteria in the format: property{,asc|desc}. Example: createdAt,desc Default sort order is ascending. Multiple sort criteria are supported. Please refer to the method description for supported properties. |
| tenantId | Array of strings <uuid> [ items <uuid > ] Filter by tenantId. |
| filterContext | string (RobotFilterContext) Enum: "READY" "DEFAULT" Filter by the specified context. |
{- "metadata": {
- "size": 25,
- "page": 0,
- "totalElements": 1096,
- "totalPages": 110
}, - "content": [
- {
- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "sourceType": "PACKAGE",
- "sourceFile": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "contentType": "string",
- "contentLength": 0,
- "contentHash": "string"
}, - "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}
]
}Returns the requested Robot when has access to do it.
| id required | string <uuid> The resource ID. |
{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "code": "string",
- "name": "string",
- "description": "string",
- "sourceType": "PACKAGE",
- "sourceFile": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "contentType": "string",
- "contentLength": 0,
- "contentHash": "string"
}, - "environmentVariables": {
- "property1": "string",
- "property2": "string"
}, - "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}Given a robot, download the source code.
| id required | string <uuid> The resource ID. |
{- "timestamp": "2019-08-24T14:15:22Z",
- "status": 0,
- "message": "string",
- "errors": [
- {
- "code": "string",
- "message": "string",
- "location": "string",
- "locationType": "string"
}
]
}Given a robot, download the requested asset.
| id required | string <uuid> The resource ID. |
| type required | string (RobotAssetType) Enum: "PYTHON" "PYTHON_PIP" "NODEJS" The asset type. |
| version required | string The asset version. |
| platform required | string (RobotAssetPlatform) Enum: "WINDOWS" "MAC_OS" "LINUX" The asset platform. |
| architecture required | string (RobotAssetArchitecture) Enum: "X86_32" "X86_64" The asset platform architecture. |
{- "timestamp": "2019-08-24T14:15:22Z",
- "status": 0,
- "message": "string",
- "errors": [
- {
- "code": "string",
- "message": "string",
- "location": "string",
- "locationType": "string"
}
]
}Operations for handling Key Management System operations.
Operations for handling authentication tokens.
Authentication to be created.
| type required | string (AuthenticationType) Enum: "ENGINE_TOKEN" "ENGINE_CERTIFICATE" |
| tenantId | string <uuid> Tenant id. This attribute is required when an OAuth2 authentication is used. |
{- "type": "ENGINE_TOKEN",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0"
}{- "createdBy": "25a02396-1048-48f9-bf93-102d2fb7895e",
- "createdAt": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "ac5c7580-b36d-42f3-a739-e202c634d1d1",
- "lastModifiedAt": "2019-08-24T14:15:22Z",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "type": "ENGINE_TOKEN",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "engineToken": {
- "token": "string",
- "expiredAt": "2019-08-24T14:15:22Z"
}, - "engineCertificate": {
- "namespace": "string",
- "tls": {
- "serverRootCaCertificate": "string",
- "clientCertificate": "string",
- "clientPrivateKey": "string"
}
}
}Information about a event produced in the platform
| id required | string <uuid> |
| version required | string |
| type required | string (WebhookType) Type of the Event. |
| timestamp required | string <date-time> |
required | object (WebhookEventProcessCreatedData) |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "version": "string",
- "type": "PROCESS.CREATED",
- "timestamp": "2019-08-24T14:15:22Z",
- "data": {
- "processId": "9e0ad09b-5150-48c0-aded-707587048fd9",
- "processState": "RUNNING"
}
}