cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti task Engine Adding new task property

shubham_rathore
Champ in-the-making
Champ in-the-making
I have added a new property in the activiti(5.11) user task (like name field ).
I am able to get  value of this field in xml file and again in designer but i am unable to get the value of this field in Activiti Engine while anaprocessing the flow.
i tried a lot by editing the classes but got no result. help me out


thanks in advance.
3 REPLIES 3

trademak
Star Contributor
Star Contributor
Can you give an example of the XML of this user task name field?
Are you looking for this functionality?

http://activiti.org/userguide/index.html#advanced_parseHandlers

Best regards,

shubham_rathore
Champ in-the-making
Champ in-the-making
<code>
<userTask id="sid-ECED5657-E47F-4F8F-A14A-3DDAAF44FD13" label="Information"  name="user" activiti:exclusive="false" >
      <documentation>
                  Some XYZ details
        </documentation>
</userTask>
</code>
I want to read this label field in the Engine while executing this task…

frederikherema1
Star Contributor
Star Contributor
Use a task-listener (see userguide), use the DelegateTask.getDescription()… Or, if not inside the process, use the taskService to query the right Task instance and use the description.