<?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 How can i pass values to parameters of user tasks? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-pass-values-to-parameters-of-user-tasks/m-p/22830#M9937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I designed a simple process like as below. here we have two user tasks. each task has frame with some fields.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;IMG alt="" class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/16257_Capture.PNG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using this process in spring framework. i started the process by using&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;runtimeService.startProcessInstanceByKey("additionJavaExample");&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;at start event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my spring controller, display the page for user inputs ( taking two numbers for addition ) when the process started. after getting inputs for first user task, how can i pass those values to that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to activiti framework here please help me out this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Sep 2017 09:18:41 GMT</pubDate>
    <dc:creator>vamsinipun</dc:creator>
    <dc:date>2017-09-25T09:18:41Z</dc:date>
    <item>
      <title>How can i pass values to parameters of user tasks?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-pass-values-to-parameters-of-user-tasks/m-p/22830#M9937</link>
      <description>Hi Team,&amp;nbsp; &amp;nbsp; &amp;nbsp;I designed a simple process like as below. here we have two user tasks. each task has frame with some fields.&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;I am using this process in spring framework. i started the process by using&amp;nbsp;runtimeService.startProcessInstanceByKey("additionJavaExample");at start event.In my spring</description>
      <pubDate>Mon, 25 Sep 2017 09:18:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-pass-values-to-parameters-of-user-tasks/m-p/22830#M9937</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-09-25T09:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can i pass values to parameters of user tasks?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-pass-values-to-parameters-of-user-tasks/m-p/22831#M9938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use a script task with the calculous, p.e.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/16264_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In Script Task (javascript):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var n1 = execution.getVariable("numberone");&lt;BR /&gt;var n2 = execution.getVariable("numbertwo");&lt;BR /&gt;var res = parseInt(n1) + parseInt(n2);&lt;/P&gt;&lt;P&gt;execution.setVariable("varRes", res.toString());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In form Result:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/16268_pastedImage_2.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;fegor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 12:04:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-pass-values-to-parameters-of-user-tasks/m-p/22831#M9938</guid>
      <dc:creator>fegor</dc:creator>
      <dc:date>2017-09-25T12:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: How can i pass values to parameters of user tasks?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-can-i-pass-values-to-parameters-of-user-tasks/m-p/22832#M9939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for your reply&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 12:21:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-can-i-pass-values-to-parameters-of-user-tasks/m-p/22832#M9939</guid>
      <dc:creator>vamsinipun</dc:creator>
      <dc:date>2017-09-25T12:21:27Z</dc:date>
    </item>
  </channel>
</rss>

