From c5da3ce6ffa674f7f44f7701b5a77e3c360a48d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Rodr=C3=ADguez=20Pedrianes?= Date: Fri, 9 Sep 2022 13:37:04 +0100 Subject: [PATCH 1/3] Prepare next snapshot 1.3.2.SNAPSHOT --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6928ec6..ab1f59c 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ com.kuflow.rest.client kuflow-rest-client - 1.3.1 + 1.3.2-SNAPSHOT jar KuFlow REST Client From d43946db85c60effadf364335da86ef6b39ff8c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Rodr=C3=ADguez=20Pedrianes?= Date: Mon, 12 Sep 2022 07:16:52 +0100 Subject: [PATCH 2/3] [KF-361] Assign an owner when task is created using email, userId and applicationId (#18) --- .../openapi/specs/api.kuflow.com/v1/openapi.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/resources/openapi/specs/api.kuflow.com/v1/openapi.yaml b/src/main/resources/openapi/specs/api.kuflow.com/v1/openapi.yaml index 888bce8..edee435 100644 --- a/src/main/resources/openapi/specs/api.kuflow.com/v1/openapi.yaml +++ b/src/main/resources/openapi/specs/api.kuflow.com/v1/openapi.yaml @@ -387,9 +387,15 @@ paths: summary: Create a new Task in the selected Process description: | Create a Task and optionally fill its elements. We can fill in any type of element except documents. + 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. method. - If you pass a valid owner then the task will be claimed for it. + + If you want that the task created is claimed you can a valid owner using the following options: + * If you know the `principal Id` you can assign it to `owner.id` + * If you know the `user Id` you can assign it to `owner.user.id` + * If you know the `user email` you can assign it to `owner.user.email` + * If you know the `application Id` you can assign it to `owner.application.id` If you want the method to be idempotent, please specify the `id` field in the request body. operationId: createTask From fed171ed7e6d1a9da24746d3c385c70d67346315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Rodr=C3=ADguez=20Pedrianes?= Date: Mon, 12 Sep 2022 07:19:43 +0100 Subject: [PATCH 3/3] Release 1.3.2 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ab1f59c..46984fb 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ com.kuflow.rest.client kuflow-rest-client - 1.3.2-SNAPSHOT + 1.3.2 jar KuFlow REST Client