<?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 CDI and ProcessInstanceId in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cdi-and-processinstanceid/m-p/201512#M154642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using Activiti 5.16.3 with CDI extension in a JBoss 7.1.4 (clustered). Sometimes I run into the following problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Referencing a named CDI bean within a workflow definition works just fine. But sometimes I don't get the process instance id via injection in that named bean:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;@Inject&lt;BR /&gt;@ProcessInstanceId&lt;BR /&gt;protected String processInstanceId;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The processInstanceId is just null. Why is that? Any idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Heiko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Oct 2014 14:30:55 GMT</pubDate>
    <dc:creator>tdtappe</dc:creator>
    <dc:date>2014-10-29T14:30:55Z</dc:date>
    <item>
      <title>CDI and ProcessInstanceId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cdi-and-processinstanceid/m-p/201512#M154642</link>
      <description>I am using Activiti 5.16.3 with CDI extension in a JBoss 7.1.4 (clustered). Sometimes I run into the following problem.Referencing a named CDI bean within a workflow definition works just fine. But sometimes I don't get the process instance id via injection in that named bean:@Inject@ProcessInstance</description>
      <pubDate>Wed, 29 Oct 2014 14:30:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cdi-and-processinstanceid/m-p/201512#M154642</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2014-10-29T14:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: CDI and ProcessInstanceId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cdi-and-processinstanceid/m-p/201513#M154643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anybody? This one's still chasing me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;–Heiko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Feb 2015 08:38:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cdi-and-processinstanceid/m-p/201513#M154643</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2015-02-10T08:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: CDI and ProcessInstanceId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cdi-and-processinstanceid/m-p/201514#M154644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, no idea … it's very hard to say something about something that happens 'sometimes' …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 11:55:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cdi-and-processinstanceid/m-p/201514#M154644</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-18T11:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: CDI and ProcessInstanceId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cdi-and-processinstanceid/m-p/201515#M154645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, 'sometimes' actually is not correct. On the clustered production system it happens fairly often. On my standalone development windows system it hardly ever occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And it doesn't seem to make any difference if I use EL and pass in the process-instance id as a parameter like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;${myBean.myFunction(execution.processInstanceId)}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Feb 2015 08:33:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cdi-and-processinstanceid/m-p/201515#M154645</guid>
      <dc:creator>tdtappe</dc:creator>
      <dc:date>2015-02-23T08:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: CDI and ProcessInstanceId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cdi-and-processinstanceid/m-p/201516#M154646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;'fairly often' is the same as 'sometimes' .. there must be a situation that triggers it, computers cannot randomly do things … but no idea what is causing it for you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2015 09:13:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cdi-and-processinstanceid/m-p/201516#M154646</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-02-28T09:13:55Z</dc:date>
    </item>
  </channel>
</rss>

