<?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 get to know programmatically that workflow finished? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-to-know-programmatically-that-workflow-finished/m-p/198265#M151395</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 start my workflow by using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-java line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;runtimeService.startProcessInstanceByKey(processId, request);&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't find a way to get to know in the same thread that the started workflow is completed..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is that possible at all?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My goal is to test performance of my workflow scaffold, maybe I am on the wrong way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Should I implement a listener and add it to the end event instead to get to know that my workflow is over?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2014 10:01:34 GMT</pubDate>
    <dc:creator>alper</dc:creator>
    <dc:date>2014-11-26T10:01:34Z</dc:date>
    <item>
      <title>How to get to know programmatically that workflow finished?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-to-know-programmatically-that-workflow-finished/m-p/198265#M151395</link>
      <description>Hi,I start my workflow by using:runtimeService.startProcessInstanceByKey(processId, request);‍‍‍I didn't find a way to get to know in the same thread that the started workflow is completed..Is that possible at all?My goal is to test performance of my workflow scaffold, maybe I am on the wrong way?Sh</description>
      <pubDate>Wed, 26 Nov 2014 10:01:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-to-know-programmatically-that-workflow-finished/m-p/198265#M151395</guid>
      <dc:creator>alper</dc:creator>
      <dc:date>2014-11-26T10:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to get to know programmatically that workflow finished?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-to-know-programmatically-that-workflow-finished/m-p/198266#M151396</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;There are several possibilities, two of them:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="http://www.activiti.org/userguide/#eventTypes" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#eventTypes&lt;/A&gt;&lt;/LI&gt;&lt;CODE&gt;PROCESS_COMPLETED&lt;/CODE&gt; event.&lt;BR /&gt;&lt;LI&gt;query history tables.&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2014 07:31:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-to-know-programmatically-that-workflow-finished/m-p/198266#M151396</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-11-27T07:31:46Z</dc:date>
    </item>
  </channel>
</rss>

