<?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: Starting a process at some time in the future in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-at-some-time-in-the-future/m-p/230772#M183902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Service task with some kinda "sleep(3600)" ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 May 2016 05:06:40 GMT</pubDate>
    <dc:creator>p4w3l</dc:creator>
    <dc:date>2016-05-22T05:06:40Z</dc:date>
    <item>
      <title>Starting a process at some time in the future</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-at-some-time-in-the-future/m-p/230771#M183901</link>
      <description>We have a use-case where we need call startProcessInstanceByKey in order to obtain the Process instance ID, but we want the process to actually start only 5 minutes *after* startProcessInstanceByKey() was called.i.e./* the actual starting of the process should be delayed by X minutes */final Process</description>
      <pubDate>Fri, 20 May 2016 17:14:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-at-some-time-in-the-future/m-p/230771#M183901</guid>
      <dc:creator>lbornov2</dc:creator>
      <dc:date>2016-05-20T17:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a process at some time in the future</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-at-some-time-in-the-future/m-p/230772#M183902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Service task with some kinda "sleep(3600)" ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 May 2016 05:06:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-at-some-time-in-the-future/m-p/230772#M183902</guid>
      <dc:creator>p4w3l</dc:creator>
      <dc:date>2016-05-22T05:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a process at some time in the future</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-at-some-time-in-the-future/m-p/230773#M183903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Lev,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the solutions could be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Process design:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NoneStartEvent&amp;nbsp; —&amp;gt; Timer catching event (Duration 5 mins)&amp;nbsp; —&amp;gt; Process Body&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;final ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("requestType", variables);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Method call starts the process. The process instance creates timer which waits 5 mins. After the timer execution process continues further.&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>Mon, 23 May 2016 06:24:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/starting-a-process-at-some-time-in-the-future/m-p/230773#M183903</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-05-23T06:24:45Z</dc:date>
    </item>
  </channel>
</rss>

