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
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.