11-25-2017 02:18 AM
Hi,
I am using activiti in spring. i have two tasks in my process. they are usertask1 and usertask2. In usertask1, i have some fields. In usertask2, i need to display those values but one filed value in editable manner. How can i show previous task value in current task? and the value change is maintained in history or not?
11-27-2017 02:34 AM
Hi,Vamsi Krishna
You can set your variable of workflow instance like this in task listeners:
execution.setVariable('variable_name', task.getVariable('current_var_name'));
and then this to get the property into the task:
var variable_name = execution.getVariable('variable_name');
and set this variable_name value to your editable property in create event task listener.
Thanks,
Kalpesh,
ContCentric
Explore our Alfresco products with the links below. Use labels to filter content by product module.