Created attachment 1074399 [details] Process definition to reproduce the issue Description of problem: This is a regression. It is possible to define reassignment for human task in process definition. For given human task this specifies timeout and user, to which the task should be reassigned, if it is not started/completed before timeout (See process definition attached, that can be used to reproduce the issue) How it worked (correctly) before: after reassignment occured, task list no longer showed the task to the original user, instead it was shown to the user we reassigned to. How it works now (bug): after the reassignment occurs, taks list still displays task to the original user (who no longer has access to the task, because it was reassigned to another user - and as a results sees Exception modals when he tries to manipulate with the reassigned task) and is not displayed in the task list of the reassignment user. Version-Release number of selected component (if applicable): latest 6.3.x snapshot How reproducible: Always Steps to Reproduce: 1. Create new process in designer and import BPMN2 definition from the attachment, Build & deploy the project 2. Start the instance of the given process, entering original and reassignment users in process start form. The proc. definition is flexible, so you can define initial user for assignment (initialAssignment variable) as well as the user to which the task will be reassigned after 10 seconds after process started (reassignTo variable). 3. Check task list with both original user and with reassign user. Actual results: THe task is present in the tasklist of the original user forever. But when he clicks release or anything, he gets an Exception modal "no current status match" The task never appears in the task list of the user to which the task was reassigned Expected results: This worked correctly in 6.1. Additional info: Attaching screenshot of the error as well as a record from HUMAN_TASKS_WITH_USERS dataset, showing the task after reassignment occurs.
Created attachment 1074400 [details] Error when original user works with reassigned task
Created attachment 1074401 [details] Reassigned human task in data sets
fixed by introducing new event listener methods that are called on reassignment so audit task table is updated and by that will allow queries to return proper results. jbpm master: https://github.com/droolsjbpm/jbpm/commit/7510393ffbfc7579aa90bead8767965c6bbe56c1 6.3.x: https://github.com/droolsjbpm/jbpm/commit/a1baf8525ccf5af46b36b3fbfc320dbf81d47918
Cool, now it works as before. Verified with BPM Suite 6.2.0 ER4.