<?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: Expressions, variables and processId in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/expressions-variables-and-processid/m-p/94784#M64967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. That's right, you can only use process variables here that are already available in the process context. In your example song isn't available in the process context.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. What you could do is use execution.processInstanceId as input parameter I think.&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>Wed, 04 Apr 2012 07:08:17 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2012-04-04T07:08:17Z</dc:date>
    <item>
      <title>Expressions, variables and processId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expressions-variables-and-processid/m-p/94783#M64966</link>
      <description>I have a spring bean which requires several variables, lets imagine the service method is as follows:void doSomething(String song, String id);‍The task is defined as below:&amp;lt;serviceTask id="task1" name="songTask" activiti:expression="#{bean.doSomething(song, id)}&amp;gt;&amp;lt;extensionElements&amp;gt;&amp;lt;ac</description>
      <pubDate>Tue, 03 Apr 2012 16:03:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expressions-variables-and-processid/m-p/94783#M64966</guid>
      <dc:creator>imamchishty</dc:creator>
      <dc:date>2012-04-03T16:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions, variables and processId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expressions-variables-and-processid/m-p/94784#M64967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. That's right, you can only use process variables here that are already available in the process context. In your example song isn't available in the process context.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. What you could do is use execution.processInstanceId as input parameter I think.&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>Wed, 04 Apr 2012 07:08:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expressions-variables-and-processid/m-p/94784#M64967</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-04-04T07:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions, variables and processId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expressions-variables-and-processid/m-p/94785#M64968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Most being IN the process context means PERSISTED from what I see. If you have a task that is completed, but not committed (due to having a separate but needed transaction context) you cannot resolve variables in a subsequent servicetask. We ran into this problem to. I think that not yet committed variables should be in the threadlocal or something so they CAN be retrieved….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this is just my experience lately (never ran into it because tasks were always committed… before continueing)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 12:39:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expressions-variables-and-processid/m-p/94785#M64968</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2012-04-04T12:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Expressions, variables and processId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/expressions-variables-and-processid/m-p/94786#M64969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks guys. I guess it makes sense that it failed. What got me was the implied nature of extensionElements.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 14:58:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/expressions-variables-and-processid/m-p/94786#M64969</guid>
      <dc:creator>imamchishty</dc:creator>
      <dc:date>2012-04-04T14:58:49Z</dc:date>
    </item>
  </channel>
</rss>

