<?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 to get process variables in a taskListener? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-process-variables-in-a-tasklistener/m-p/170460#M123751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wrote that i tried with execution (as given by parameter).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I figured out that the problem wasn't in Activiti. I tried to print out a JPA Entity, that tried to fetch some other data, that is not existed at the moment. It was misleading that there was no exception which one might infer the real problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2014 10:54:46 GMT</pubDate>
    <dc:creator>c-shark</dc:creator>
    <dc:date>2014-05-12T10:54:46Z</dc:date>
    <item>
      <title>How to get process variables in a taskListener?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-process-variables-in-a-tasklistener/m-p/170456#M123747</link>
      <description>Hi!I've got the following in my bpmn:&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userTask id="assembleContract" name="Assemble Contract" activiti:candidateGroups="${candidateGroups}"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;doc…&amp;lt;/documentation&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:taskListener event="create" expression="${org</description>
      <pubDate>Fri, 09 May 2014 11:24:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-process-variables-in-a-tasklistener/m-p/170456#M123747</guid>
      <dc:creator>c-shark</dc:creator>
      <dc:date>2014-05-09T11:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to get process variables in a taskListener?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-process-variables-in-a-tasklistener/m-p/170457#M123748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;where/how do you define the variables?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:05:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-process-variables-in-a-tasklistener/m-p/170457#M123748</guid>
      <dc:creator>pkonyves</dc:creator>
      <dc:date>2014-05-09T16:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get process variables in a taskListener?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-process-variables-in-a-tasklistener/m-p/170458#M123749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I try to run this in a unit test. The process variables are set when i start the process be calling&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;runtimeService.startProcessInstanceByKey("my_workflow", processVariables);&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where &amp;lt;code&amp;gt;processVariables&amp;lt;/code&amp;gt; is a &amp;lt;code&amp;gt;Map&amp;lt;String, Object&amp;gt;&amp;lt;/code&amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think that something wrong with the process variables, because i'm not changed that part since I try to use task listeners instead of service tasks. And it worked with service tasks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 May 2014 07:19:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-process-variables-in-a-tasklistener/m-p/170458#M123749</guid>
      <dc:creator>c-shark</dc:creator>
      <dc:date>2014-05-10T07:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get process variables in a taskListener?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-process-variables-in-a-tasklistener/m-p/170459#M123750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use the following lines to get the variable:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DelegateExecution execution = delegateTask.getExecution();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String organization = (String) execution.getVariable("organization");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 06:45:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-process-variables-in-a-tasklistener/m-p/170459#M123750</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-05-12T06:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get process variables in a taskListener?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-process-variables-in-a-tasklistener/m-p/170460#M123751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wrote that i tried with execution (as given by parameter).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I figured out that the problem wasn't in Activiti. I tried to print out a JPA Entity, that tried to fetch some other data, that is not existed at the moment. It was misleading that there was no exception which one might infer the real problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 10:54:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-process-variables-in-a-tasklistener/m-p/170460#M123751</guid>
      <dc:creator>c-shark</dc:creator>
      <dc:date>2014-05-12T10:54:46Z</dc:date>
    </item>
  </channel>
</rss>

