<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can i show previous task value in current task? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-show-previous-task-value-in-current-task/m-p/7047#M3386</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;B&gt;Vamsi Krishna&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can&amp;nbsp;set your variable of&amp;nbsp;workflow instance like this in task listeners:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;execution.setVariable('variable_name', task.getVariable('current_var_name'));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;and then this to&amp;nbsp;get the property into the task:&lt;/SPAN&gt;&lt;BR style="color: #727174; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;var variable_name = &lt;SPAN&gt;execution.getVariable('variable_name')&lt;/SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;and set this &lt;SPAN&gt;variable_name value&lt;/SPAN&gt;&amp;nbsp;to your editable property in create event task listener.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Kalpesh,&lt;BR /&gt;&lt;A href="http://www.contcentric.com" rel="nofollow noopener noreferrer"&gt;ContCentric&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Nov 2017 07:34:54 GMT</pubDate>
    <dc:creator>kalpesh_c2</dc:creator>
    <dc:date>2017-11-27T07:34:54Z</dc:date>
    <item>
      <title>How can i show previous task value in current task?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-show-previous-task-value-in-current-task/m-p/7046#M3385</link>
      <description>Hi,&amp;nbsp; &amp;nbsp;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.&amp;nbsp;How can i show previous task value in current task? and the value change is ma</description>
      <pubDate>Sat, 25 Nov 2017 07:18:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-show-previous-task-value-in-current-task/m-p/7046#M3385</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-11-25T07:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can i show previous task value in current task?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-show-previous-task-value-in-current-task/m-p/7047#M3386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;B&gt;Vamsi Krishna&lt;/B&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can&amp;nbsp;set your variable of&amp;nbsp;workflow instance like this in task listeners:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;execution.setVariable('variable_name', task.getVariable('current_var_name'));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;and then this to&amp;nbsp;get the property into the task:&lt;/SPAN&gt;&lt;BR style="color: #727174; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;var variable_name = &lt;SPAN&gt;execution.getVariable('variable_name')&lt;/SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;and set this &lt;SPAN&gt;variable_name value&lt;/SPAN&gt;&amp;nbsp;to your editable property in create event task listener.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Kalpesh,&lt;BR /&gt;&lt;A href="http://www.contcentric.com" rel="nofollow noopener noreferrer"&gt;ContCentric&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff; border: 0px;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 07:34:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-show-previous-task-value-in-current-task/m-p/7047#M3386</guid>
      <dc:creator>kalpesh_c2</dc:creator>
      <dc:date>2017-11-27T07:34:54Z</dc:date>
    </item>
  </channel>
</rss>

