<?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 How to suspend current process instance ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143406#M100373</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;Have written a piece of java code (below) . but I can't see the process getting suspended in Suspend Process in Activiti explorer&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeService runtimeService = execution.getEngineServices().getRuntimeService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; runtimeService.suspendProcessInstanceById (execution.getProcessInstanceId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Request assistance..&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 13:43:58 GMT</pubDate>
    <dc:creator>sudarshan</dc:creator>
    <dc:date>2013-07-10T13:43:58Z</dc:date>
    <item>
      <title>How to suspend current process instance ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143406#M100373</link>
      <description>HiHave written a piece of java code (below) . but I can't see the process getting suspended in Suspend Process in Activiti explorerRuntimeService runtimeService = execution.getEngineServices().getRuntimeService();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; runtimeService.suspendProcessInstanceById (execution.getProcessInstanceId());Reque</description>
      <pubDate>Wed, 10 Jul 2013 13:43:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143406#M100373</guid>
      <dc:creator>sudarshan</dc:creator>
      <dc:date>2013-07-10T13:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to suspend current process instance ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143407#M100374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have suspended *one* single instance. In Explorer, you shouldn't be able to complete any task of that process instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to see the process definition suspended in Explorer, you need to suspend the process definition&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 06:56:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143407#M100374</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-07-12T06:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to suspend current process instance ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143408#M100375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your inputs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Going forward in new version of Activiti BPM, can we change the menu 'Suspended Process' to 'Deactivated Process',, as I personally feel current naming convention leads to ambiguity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A question based on your inputs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am calling below code to suspend by the current proceess in java service task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Activity A -&amp;gt; Call Java Service Task (Suspend)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is below code correct or do you suggest any change.?.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RuntimeService runtimeService = execution.getEngineServices().getRuntimeService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;runtimeService.suspendProcessInstanceById (execution.getProcessInstanceId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 16:28:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143408#M100375</guid>
      <dc:creator>sudarshan</dc:creator>
      <dc:date>2013-07-12T16:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to suspend current process instance ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143409#M100376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Suspending the "current running process" from within the process itself might possibly not work, because the process is still "flowing" and the latest state is not yet committed in the database. I'm not 100% sure it will fail, you'll need to try. With some luck, the suspend() only updates the process-instance suspended-flag and lets the other process-changed be committed as well without error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 09:56:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143409#M100376</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-07-17T09:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to suspend current process instance ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143410#M100377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to suspend the current process instance with this command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;runtimeService.suspendProcessInstanceById(pi.getId());&lt;BR /&gt;System.out.println(pi.isSuspended());&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;but the last sentence returned false &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know why it is not suspended is there something wrong ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2016 16:05:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143410#M100377</guid>
      <dc:creator>marwahussein</dc:creator>
      <dc:date>2016-05-05T16:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to suspend current process instance ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143411#M100378</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;Did you update pi object in the memory?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2016 06:56:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-suspend-current-process-instance/m-p/143411#M100378</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-05-06T06:56:15Z</dc:date>
    </item>
  </channel>
</rss>

