cancel
Showing results for 
Search instead for 
Did you mean: 

Re-assign task in Activiti

fortunamedical
Champ in-the-making
Champ in-the-making

If you re-assign an active task in Activiti via the TaskService, the assignee value in the historical tasks table is never updated, is there a way to sync the values ?

2 REPLIES 2

gdharley
Elite Collaborator
Elite Collaborator

Hi Kunle,

Nice pickup, I never actually noticed that.
The initial task assignment is actually populated by a task listener (UserTaskAssignmentHandler) that is automatically added to all user tasks (assign event) when the BPMN process is deployed (using a parse handler).

The code simply calls the DefaultHistoryManager method "recordTaskAssignment(TaskEntity task)".
I imagine you could make the same call on task reassignment.

You should probably open a jira on this at System Dashboard - JIRA 

Cheers,

Greg

fortunamedical
Champ in-the-making
Champ in-the-making

Thanks for the prompt response, I will implement as advised and open a jira item for this issue.