<?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: Getting a process endEvent id using the history API in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-a-process-endevent-id-using-the-history-api/m-p/46865#M26423</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;I will answer my own question :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;String pid = "XXXXXX";&lt;BR /&gt;processEngine.getHistoryService().createHistoricProcessInstanceQuery().processInstanceId(pid).singleResult().getEndActivityId();&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps someone &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Meditel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Oct 2011 11:27:43 GMT</pubDate>
    <dc:creator>meditel</dc:creator>
    <dc:date>2011-10-09T11:27:43Z</dc:date>
    <item>
      <title>Getting a process endEvent id using the history API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-a-process-endevent-id-using-the-history-api/m-p/46864#M26422</link>
      <description>Hi,I have a process with 2 endEvents ('endevent1' &amp;amp; 'endevent2').How shall i know after the process execution has finished if it ended on 'endevent1' or 'endevent2' ?I see the 'ACT_HI_PROCINST' table having what i need. But i don't know how can i query this table using the API :-/BR,Meditel</description>
      <pubDate>Wed, 05 Oct 2011 12:44:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-a-process-endevent-id-using-the-history-api/m-p/46864#M26422</guid>
      <dc:creator>meditel</dc:creator>
      <dc:date>2011-10-05T12:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a process endEvent id using the history API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-a-process-endevent-id-using-the-history-api/m-p/46865#M26423</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;I will answer my own question :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;String pid = "XXXXXX";&lt;BR /&gt;processEngine.getHistoryService().createHistoricProcessInstanceQuery().processInstanceId(pid).singleResult().getEndActivityId();&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps someone &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BR,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Meditel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Oct 2011 11:27:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-a-process-endevent-id-using-the-history-api/m-p/46865#M26423</guid>
      <dc:creator>meditel</dc:creator>
      <dc:date>2011-10-09T11:27:43Z</dc:date>
    </item>
  </channel>
</rss>

