You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
We are using kogito postgres as the persistence layer for the runtime. In some cases after a restart we were unable to POST / complete a user task for a which was created before the restart. We were getting the output as { "taskId": "27d10aa3-514f-470c-9b87-b6cb1d1ecece", "message": "Work Item (27d10aa3-514f-470c-9b87-b6cb1d1ecece) does not exist" }
After some trouble shooting we found that we were able to get the task details in both the GET tasks and GET all by task id too. And the above error happens only during POST call for any change in the task.
Also we noted that this error is happneing only in case of User tasks in Embedded Process of the main Process.
How to reproduce:
Create a kogito runtime(1.43.0.Final) with postgres persistance enabled
Create a BPMN (simple.bpmn2) with a human task and then an embedded process with a human task as shown in the picture below
Build and run the Kogito runtime
Start the work flow (either in the swagger or via the curl as follows)
Description:
We are using kogito postgres as the persistence layer for the runtime. In some cases after a restart we were unable to POST / complete a user task for a which was created before the restart. We were getting the output as
{ "taskId": "27d10aa3-514f-470c-9b87-b6cb1d1ecece", "message": "Work Item (27d10aa3-514f-470c-9b87-b6cb1d1ecece) does not exist" }
After some trouble shooting we found that we were able to get the task details in both the GET tasks and GET all by task id too. And the above error happens only during POST call for any change in the task.
Also we noted that this error is happneing only in case of User tasks in Embedded Process of the main Process.
How to reproduce:
Create a kogito runtime(1.43.0.Final) with postgres persistance enabled
Create a BPMN (simple.bpmn2) with a human task and then an embedded process with a human task as shown in the picture below
Build and run the Kogito runtime
Start the work flow (either in the swagger or via the curl as follows)
This should have created two tasks for the process (Get the tasks for the process)
Sample tasks created
PS: MTask is the user tasks in the main process while STask is the user task in the embedded sub task.
would yield
{ "taskId": "<STaskId>", "message": "Work Item (<STaskId>) does not exist" }
while if this was repeated for the MTask it would succeed
Fixes required:
Please refer
https://kie.zulipchat.com/#narrow/stream/232676-kogito/topic/Embedded.20Subprocess'.20Human.20Task.20reconnect.20Fail.20after.20resart
The text was updated successfully, but these errors were encountered: