<?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 Querying Process Instance with unexpected errors in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/querying-process-instance-with-unexpected-errors/m-p/235111#M188241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd like to know how to query, if it's possible, only process instances that occurred unexpected errors, for example if in a Service Task the bean called threw a NullPointerException.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I query all unfinished processes using HistoricProcessInstanceQuery or query all active processes instance using ProcessInstanceQuery, those instances with the unexpected error are returned, but they are mixed with other instances that are really active.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to indentify those instances with error, is it possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2016 20:05:39 GMT</pubDate>
    <dc:creator>russinholi</dc:creator>
    <dc:date>2016-05-25T20:05:39Z</dc:date>
    <item>
      <title>Querying Process Instance with unexpected errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/querying-process-instance-with-unexpected-errors/m-p/235111#M188241</link>
      <description>Hi all, I'd like to know how to query, if it's possible, only process instances that occurred unexpected errors, for example if in a Service Task the bean called threw a NullPointerException.If I query all unfinished processes using HistoricProcessInstanceQuery or query all active processes instance</description>
      <pubDate>Wed, 25 May 2016 20:05:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/querying-process-instance-with-unexpected-errors/m-p/235111#M188241</guid>
      <dc:creator>russinholi</dc:creator>
      <dc:date>2016-05-25T20:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Process Instance with unexpected errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/querying-process-instance-with-unexpected-errors/m-p/235112#M188242</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;Perhaps should you add a simple process instance variable when an error occurs (execution.setVariable("Error",true)). You will be able to query process instances that have this variable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 10:46:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/querying-process-instance-with-unexpected-errors/m-p/235112#M188242</guid>
      <dc:creator>r3dge</dc:creator>
      <dc:date>2016-05-27T10:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Querying Process Instance with unexpected errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/querying-process-instance-with-unexpected-errors/m-p/235113#M188243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi r3dge,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your tip, I will try it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 14:22:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/querying-process-instance-with-unexpected-errors/m-p/235113#M188243</guid>
      <dc:creator>russinholi</dc:creator>
      <dc:date>2016-05-27T14:22:21Z</dc:date>
    </item>
  </channel>
</rss>

