-
Bug
-
Resolution: Done
-
Major
-
6.1.0
-
None
-
Release Notes
-
-
-
-
-
ER4
Description of problem:
With a really simple process with a human task only that has a reassignment to a group if an user does not complete the task, and if the tasks is completed using the REST API before the reassignment happen, we have the following exception:
ERROR org.kie.internal.runtime.manager.SessionNotFoundException: No session found for context
{context}Version-Release number of selected component (if applicable):
n/a
How reproducible:
alwyas
Steps to Reproduce:
1.create a process with a single human task and configure a reassignment of type "not-complete" for it, for example:
users:|groups:r1@1m@not-completed
2. deploy the project with the process
3. start the process, claim the task, start it and complete it using the REST API before the reassignment fires, make sure the process is finished once you complete the task
4. Wait the same time you set for the reassignment
Actual results:
Error in the logs when the reassignment should be fired:
ERROR org.kie.internal.runtime.manager.SessionNotFoundException: No session found for context {context}
Expected results:
No error in the logs
Additional info:
It works when completing the task using Business Central. Seems that the REST API probably misses some call when process are ended to cancel all the scheduled re-assignments?
- blocks
-
RHBPMS-388 [GSS](6.1.z)Tasks with reassignment throws exception when completing it using the REST API
- Verified
- is duplicated by
-
RHBPMS-388 [GSS](6.1.z)Tasks with reassignment throws exception when completing it using the REST API
- Verified