cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the task assignee from the history of a process

marcthomas2012
Champ in-the-making
Champ in-the-making
Hi,

I have been trying to find a way for a currently running process instance to get the original text that was in the assignee field for a task in Activiti. I use Activiti variables in places to perform the assignment of a tasks and I need to find out what the variable was for a particular task, e.g. ${myAssignedUser}

All the history queries I have looked at and tried seem to always provide the actual id of the user assigned to the task. Is there a way of querying the original process definition to get this?

Thanks
Marc
1 REPLY 1

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
Well, the processdefinition is xml and so you can always parse it… In 5.11 there even is a kind of api for it afaik… just wait a few days