<?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: Problem with the ProcessDefinition class in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-the-processdefinition-class/m-p/167414#M120937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I will give it a look later this week. Thanks for the orientation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 12:11:26 GMT</pubDate>
    <dc:creator>rittmann</dc:creator>
    <dc:date>2013-09-25T12:11:26Z</dc:date>
    <item>
      <title>Problem with the ProcessDefinition class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-the-processdefinition-class/m-p/167411#M120934</link>
      <description>While I was playing a little with the different engines in Activiti 5.13, I found a weird issue. I use spring to get the repository service. In my function, I have this code&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rocessDefinition processDefinition;try {&amp;nbsp;&amp;nbsp;&amp;nbsp;processDefinition = repositoryService.getProcessDefinition(id);} catch (Exception</description>
      <pubDate>Fri, 20 Sep 2013 15:14:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-the-processdefinition-class/m-p/167411#M120934</guid>
      <dc:creator>rittmann</dc:creator>
      <dc:date>2013-09-20T15:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the ProcessDefinition class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-the-processdefinition-class/m-p/167412#M120935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Investigating this issue, I created a workaround. It is not ideal, but at least gets the job done. Instead of performing a query through the repository service, I perform it using a query in the runtime service. Of course, this is far from ideal, since in a production environment it means to search the whole process definitions database - but then again, it will probably not be so huge as to cause a significant performance impact.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So in the try clause, I would write this line instead of the one above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;processDefinition = repositoryService.createProcessDefinitionQuery().processDefinitionId(id).list().get(0);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 08:21:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-the-processdefinition-class/m-p/167412#M120935</guid>
      <dc:creator>rittmann</dc:creator>
      <dc:date>2013-09-23T08:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the ProcessDefinition class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-the-processdefinition-class/m-p/167413#M120936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to do something with the reporting process definitions, you have to make sure that the processDefinition form type is on the classpath. This form type is implemented in the Activiti Explorer. These reporting process definitions are there only as an example, so if they are causing issues, just delete/ignore them.&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>Tue, 24 Sep 2013 09:45:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-the-processdefinition-class/m-p/167413#M120936</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-24T09:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with the ProcessDefinition class</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-the-processdefinition-class/m-p/167414#M120937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, I will give it a look later this week. Thanks for the orientation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 12:11:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-the-processdefinition-class/m-p/167414#M120937</guid>
      <dc:creator>rittmann</dc:creator>
      <dc:date>2013-09-25T12:11:26Z</dc:date>
    </item>
  </channel>
</rss>

