cancel
Showing results for 
Search instead for 
Did you mean: 

How to customize UserTask name in APS 24.x

jshi_tamg
Champ on-the-rise
Champ on-the-rise

Hello,

We are in the process of migrating APS 1.9 to APS 24.x, and we have a BPM userTask defined as follows

<userTask id="xxxx" name="Review Candidate" activiti:candidateUsers="1" activiti:formKey="17018">
<extensionElements>
<activiti:taskListener event="create" expression="${reviewCandidateTaskListener.setTaskName(task)}"/>
</extensionElements>
</userTask>

public void setTaskName(DelegateTask task)
{
task.setName('Set to customized name based on process variables');
}
Task list from UI works well in APS 1.9, which is showing the Customized task name. In APS 24.x, it always display 'Review Candidate'. We compared the data, and found that APS 24.x set the task name in the runtime table act_ru_task,  not to the act_hi_taskinst.
 
Please advisor how to custom userTask name in APS 24.x.
 
Thanks, Jian
0 REPLIES 0