<?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: How to determine when process is complete after signal()? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-determine-when-process-is-complete-after-signal/m-p/119469#M84217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Disclaimer - I'm just getting started with Activity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It should be possible to tell whether it has ended based on the records in the database.&amp;nbsp; For example, if the execution is in ACT_RU_EXECUTION, I believe that means it hasn't reached an end event.&amp;nbsp; Or if the corresponding entry in ACT_HI_PROCINST has an end time, then it ended.&amp;nbsp;&amp;nbsp; But there would be a race condition if you check that and take action, so perhaps even if it appear to be running, you need to handle the case where it completes before you can query the variable (if it fails, then check the history for the value). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Someone more experienced may have a better recommendation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 May 2013 22:39:03 GMT</pubDate>
    <dc:creator>slehman</dc:creator>
    <dc:date>2013-05-24T22:39:03Z</dc:date>
    <item>
      <title>How to determine when process is complete after signal()?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-determine-when-process-is-complete-after-signal/m-p/119468#M84216</link>
      <description>Hello,I have an issue where I pass the process/execution a process variable, signal() it which executes tasks that work on the varaible, and then try to retrieve the variable again.&amp;nbsp; Everything works fine, unless the endEvent is encountered at which point the execution no longer exists and the varia</description>
      <pubDate>Fri, 24 May 2013 18:46:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-determine-when-process-is-complete-after-signal/m-p/119468#M84216</guid>
      <dc:creator>gottsch</dc:creator>
      <dc:date>2013-05-24T18:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine when process is complete after signal()?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-determine-when-process-is-complete-after-signal/m-p/119469#M84217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Disclaimer - I'm just getting started with Activity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It should be possible to tell whether it has ended based on the records in the database.&amp;nbsp; For example, if the execution is in ACT_RU_EXECUTION, I believe that means it hasn't reached an end event.&amp;nbsp; Or if the corresponding entry in ACT_HI_PROCINST has an end time, then it ended.&amp;nbsp;&amp;nbsp; But there would be a race condition if you check that and take action, so perhaps even if it appear to be running, you need to handle the case where it completes before you can query the variable (if it fails, then check the history for the value). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Someone more experienced may have a better recommendation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 22:39:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-determine-when-process-is-complete-after-signal/m-p/119469#M84217</guid>
      <dc:creator>slehman</dc:creator>
      <dc:date>2013-05-24T22:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine when process is complete after signal()?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-determine-when-process-is-complete-after-signal/m-p/119470#M84218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Indeed, use the executionQuery() or processInstanceQuery() to find out if any result is returned or not when querying execution/process by id.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or check the exception, it's of type ActivitiObjectNotFoundException() with a member field that indicates what entity is not found&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 13:42:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-determine-when-process-is-complete-after-signal/m-p/119470#M84218</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-06-04T13:42:00Z</dc:date>
    </item>
  </channel>
</rss>

