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
After using a org.activiti.engine.delegate.TaskListener to set the assignee of a DelegateTask, the HistoricTaskInstance.assignee is not set.
public class TestListener implements TaskListener {
@Override
public void notify(DelegateTask delegateTask) {
delegateTask.setAssignee("Person_system");
}
}
Using the taskservice works, taskService.createTaskQuery().list() I get the task with correct assignee set:
Using the historyservice results in outdated tasks: historyService.createHistoricTaskInstanceQuery().list()
Results in an empty array: historyService.createHistoricTaskInstanceQuery().taskAssignee("Person_system").list();
Using Activiti Version 7.3.0
UPDATE: Just verified the same issue in Activiti Version 6.0.0
The text was updated successfully, but these errors were encountered:
flaviodonze
changed the title
changes on DelegateTask not stored in history
setting assignee on DelegateTask is not stored in HistoricTaskInstance
Jun 28, 2022
After using a
org.activiti.engine.delegate.TaskListener
to set the assignee of aDelegateTask
, theHistoricTaskInstance.assignee
is not set.Using the taskservice works,
taskService.createTaskQuery().list()
I get the task with correct assignee set:Using the historyservice results in outdated tasks:
historyService.createHistoricTaskInstanceQuery().list()
Results in an empty array:
historyService.createHistoricTaskInstanceQuery().taskAssignee("Person_system").list();
Using Activiti Version 7.3.0
UPDATE: Just verified the same issue in Activiti Version 6.0.0
The text was updated successfully, but these errors were encountered: