<?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: Clarification regarding different statuses of a process instance in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/clarification-regarding-different-statuses-of-a-process-instance/m-p/169684#M123045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks so much. We were confused, since we took it as a bool/bit, rather an enum. This makes perfect sense now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Dec 2013 06:53:24 GMT</pubDate>
    <dc:creator>mittalabhi86</dc:creator>
    <dc:date>2013-12-06T06:53:24Z</dc:date>
    <item>
      <title>Clarification regarding different statuses of a process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/clarification-regarding-different-statuses-of-a-process-instance/m-p/169680#M123041</link>
      <description>Hi,In one of my project, I am using activiti 5.13.I want to have some clarifications regarding various possible statuses a process instance can be in.1. From where do ProcessInstance.isSuspended flag's value is picked up by activiti engine? Asking this because, it's always shown as false, even when</description>
      <pubDate>Thu, 28 Nov 2013 03:54:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/clarification-regarding-different-statuses-of-a-process-instance/m-p/169680#M123041</guid>
      <dc:creator>mittalabhi86</dc:creator>
      <dc:date>2013-11-28T03:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification regarding different statuses of a process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/clarification-regarding-different-statuses-of-a-process-instance/m-p/169681#M123042</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;1. isSuspended is definitely not always false. We have a couple of unit tests that test for a value of true (ProcessDefinitionSuspensionTest for example). So yes this value should be true when the process instance is suspended.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. That's correct&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your statements are correct. Only for 3 I would expect SUSPENSION_STATE to be false.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The reason why HistoricProcessInstance is not extending ProcessInstance is for historic reasons.&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>Thu, 28 Nov 2013 10:50:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/clarification-regarding-different-statuses-of-a-process-instance/m-p/169681#M123042</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-11-28T10:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification regarding different statuses of a process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/clarification-regarding-different-statuses-of-a-process-instance/m-p/169682#M123043</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;Thanks a lot for the clarification.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It was a typo in statement 3 (I intended to write false. My bad).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Though, most of the doubts are cleared, I am still struck with one thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ACT_RU_EXECUTION table, the value of SUSPENSION_STATE_ = 1 for all the records. Which suggests that these records are in suspended state, thus residing in this table. They would have been deleted from here, had they got complete. But, the isSuspended flag in ProcessInstance object returns me false for these object. That's why, I am not able to make out from where is the value of this flag picked?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Abhishek&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 09:46:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/clarification-regarding-different-statuses-of-a-process-instance/m-p/169682#M123043</guid>
      <dc:creator>mittalabhi86</dc:creator>
      <dc:date>2013-12-05T09:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification regarding different statuses of a process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/clarification-regarding-different-statuses-of-a-process-instance/m-p/169683#M123044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;resultMap id="executionResultMap" type="org.activiti.engine.impl.persistence.entity.ExecutionEntity"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;id property="id" column="ID_" jdbcType="VARCHAR" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="revision" column="REV_" jdbcType="INTEGER" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="processInstanceId" column="PROC_INST_ID_" jdbcType="VARCHAR" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="businessKey" column="BUSINESS_KEY_" jdbcType="VARCHAR" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="processDefinitionId" column="PROC_DEF_ID_" jdbcType="VARCHAR" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="activityId" column="ACT_ID_" jdbcType="VARCHAR" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="isActive" column="IS_ACTIVE_" jdbcType="BOOLEAN" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="isConcurrent" column="IS_CONCURRENT_" jdbcType="BOOLEAN" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="isScope" column="IS_SCOPE_" jdbcType="BOOLEAN" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="isEventScope" column="IS_EVENT_SCOPE_" jdbcType="BOOLEAN" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="parentId" column="PARENT_ID_" jdbcType="VARCHAR" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="superExecutionId" column="SUPER_EXEC_" jdbcType="VARCHAR" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="suspensionState" column="SUSPENSION_STATE_" jdbcType="INTEGER"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;result property="cachedEntityState" column="CACHED_ENT_STATE_" jdbcType="INTEGER"/&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/resultMap&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Suspension state is read into the ExecutionEntity when fetched, and the isSuspended() is based on that. Please not that SUSPENDED_STATE_ will be 1 for active processes and 2 for suspended processes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 09:56:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/clarification-regarding-different-statuses-of-a-process-instance/m-p/169683#M123044</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-05T09:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clarification regarding different statuses of a process instance</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/clarification-regarding-different-statuses-of-a-process-instance/m-p/169684#M123045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks so much. We were confused, since we took it as a bool/bit, rather an enum. This makes perfect sense now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 06:53:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/clarification-regarding-different-statuses-of-a-process-instance/m-p/169684#M123045</guid>
      <dc:creator>mittalabhi86</dc:creator>
      <dc:date>2013-12-06T06:53:24Z</dc:date>
    </item>
  </channel>
</rss>

