<?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 Set task level variables without writing code. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168725#M122167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In my workflow, I have user tasks with form variables. When user try to complete a task, they have to enter the values to complete the task. After that the variables becomes variables of the process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my workflow, I have call activity that start sub process. I have input and out put parameters. Input becomes the process variable of the sub process when sub process starts. Output becomes the process variable of parent process when the sub process ends.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These are built in and so easy to use. Thanks guys!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I create multiple parallel tasks in on process, I cannot figure out how to have task level variables/results. For example, I have a task to create order to cover demand. After created, I use a inclusive gateway, one flow is for the created purchase order to go to wait for fulfill status, another flow is if the demand is not completely covered, it goes back to create order to create more. But after the user created another order, they enter the second order id to complete the task, I lost the order id for the first order because the form property "orderId" is process level variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wonder how I can have the form value user put saved to task level variable. Or how can I have the "wait for fulfill" task copy down the "orderId" from the process level to the task level so when user create another order, the new order id does not overwrite it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Gordon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 May 2014 23:52:33 GMT</pubDate>
    <dc:creator>ssun</dc:creator>
    <dc:date>2014-05-07T23:52:33Z</dc:date>
    <item>
      <title>Set task level variables without writing code.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168725#M122167</link>
      <description>In my workflow, I have user tasks with form variables. When user try to complete a task, they have to enter the values to complete the task. After that the variables becomes variables of the process.In my workflow, I have call activity that start sub process. I have input and out put parameters. Inp</description>
      <pubDate>Wed, 07 May 2014 23:52:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168725#M122167</guid>
      <dc:creator>ssun</dc:creator>
      <dc:date>2014-05-07T23:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set task level variables without writing code.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168726#M122168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One quick solution I would try is to use a call activity and create a sub process instead of a task for the "wait for fulfill".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In that case, I can use the built in input and output parameter to preserve the order id.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I wonder if this is abuse of call activity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Gordon&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 00:07:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168726#M122168</guid>
      <dc:creator>ssun</dc:creator>
      <dc:date>2014-05-08T00:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set task level variables without writing code.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168727#M122169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone tell me if Activiti can set task level variables for next task? (Without writing code that copies down the process level variable to task level at the beginning of the task)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 17:42:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168727#M122169</guid>
      <dc:creator>ssun</dc:creator>
      <dc:date>2014-05-08T17:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Set task level variables without writing code.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168728#M122170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can anyone give me a simple yes/no? Not proposing new feature here but wonder if I should stop looking and start writing code or not.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 00:43:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168728#M122170</guid>
      <dc:creator>ssun</dc:creator>
      <dc:date>2014-05-15T00:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set task level variables without writing code.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168729#M122171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was not able to pass the variables between forms and tasks ., for example there are two user tasks and the form variables in both tasks were defined as something as like this&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:formProperty id="firstname" name="firstname" type="string" variable="$firstname"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/extensionElements&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In order to access the form variables were , this following piece of line of code was helpful.,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Object map = activitiSpringRule.getFormService().getTaskFormData(task.getId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;taskFormFirstName = ((FormPropertyImpl) ((TaskFormDataImpl) pvMap).getFormProperties().get(0)).getValue();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 18:58:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168729#M122171</guid>
      <dc:creator>sathish1</dc:creator>
      <dc:date>2014-05-19T18:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set task level variables without writing code.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168730#M122172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you sathish. So it seems that this is not possible without code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 19:55:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/set-task-level-variables-without-writing-code/m-p/168730#M122172</guid>
      <dc:creator>ssun</dc:creator>
      <dc:date>2014-05-19T19:55:44Z</dc:date>
    </item>
  </channel>
</rss>

