As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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?
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