<?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: Activiti Border Timer Events in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59963#M36963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Up !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't understand your solution. I'm having the same problem, I think I misunderstood the boundary timer event :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Start-event -&amp;gt; Script task containing a telnet request -&amp;gt; End-event&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put the following boundary event :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;boundaryEvent attachedToRef="telnetTask" cancelActivity="true" id="timer"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition id="_theTimer"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDuration id="_theTimerDuration" xsi:type="tFormalExpression"&amp;gt;PT1S&amp;lt;/timeDuration&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/boundaryEvent&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;This boundary event is linked with a simple script task which print "Timeout", then it goes on an end-event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My fake-telnet-server send a response 5 seconds after it receives the request, so the workflow should go in "Timeout" no ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of printing "Timeout", the workflow ends normally (after 5 seconds) then it prints :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;GRAVE: Error while closing command context&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at org.activiti.engine.impl.jobexecutor.TimerExecuteNestedActivityJobHandler.execute(TimerExecuteNestedActivityJobHandler.java:39)&lt;BR /&gt; at org.activiti.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:78)&lt;BR /&gt; at org.activiti.engine.impl.persistence.entity.TimerEntity.execute(TimerEntity.java:62)&lt;BR /&gt; at org.activiti.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:58)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;What's wrong here ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;EDIT : &lt;BR /&gt;&lt;BR /&gt;Actually now it writes "Timeout" after 1 second, but still got the nullPointerException. Plus, if I put a while(true); in my script, the timer doesn't work anymore (the flow gets stucked in the script task).&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2011 15:14:33 GMT</pubDate>
    <dc:creator>mathiasd</dc:creator>
    <dc:date>2011-09-21T15:14:33Z</dc:date>
    <item>
      <title>Activiti Border Timer Events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59961#M36961</link>
      <description>Activiti 5.6, Eclipse PluginI have been having trouble creating border timer events successfully.My model is a simple diagram with 2 service tasks, they only have System.out.println's inside of them.I have been trying to setup the diagram such that the first event executes, and if it takes &amp;gt; 3 se</description>
      <pubDate>Thu, 21 Jul 2011 21:55:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59961#M36961</guid>
      <dc:creator>coner</dc:creator>
      <dc:date>2011-07-21T21:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Border Timer Events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59962#M36962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;so i've had to resort to using the following model to allow for timing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;start -&amp;gt; doWork -&amp;gt; sleep() -&amp;gt; exclusiveGate -&amp;gt; exit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^———————–|&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;where the exclusiveGate will always select the branch to go back to the doWork serviceTask.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 14:30:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59962#M36962</guid>
      <dc:creator>coner</dc:creator>
      <dc:date>2011-07-25T14:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Border Timer Events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59963#M36963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Up !&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't understand your solution. I'm having the same problem, I think I misunderstood the boundary timer event :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Start-event -&amp;gt; Script task containing a telnet request -&amp;gt; End-event&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put the following boundary event :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;boundaryEvent attachedToRef="telnetTask" cancelActivity="true" id="timer"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timerEventDefinition id="_theTimer"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;timeDuration id="_theTimerDuration" xsi:type="tFormalExpression"&amp;gt;PT1S&amp;lt;/timeDuration&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/timerEventDefinition&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/boundaryEvent&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;This boundary event is linked with a simple script task which print "Timeout", then it goes on an end-event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My fake-telnet-server send a response 5 seconds after it receives the request, so the workflow should go in "Timeout" no ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of printing "Timeout", the workflow ends normally (after 5 seconds) then it prints :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;GRAVE: Error while closing command context&lt;BR /&gt;java.lang.NullPointerException&lt;BR /&gt; at org.activiti.engine.impl.jobexecutor.TimerExecuteNestedActivityJobHandler.execute(TimerExecuteNestedActivityJobHandler.java:39)&lt;BR /&gt; at org.activiti.engine.impl.persistence.entity.JobEntity.execute(JobEntity.java:78)&lt;BR /&gt; at org.activiti.engine.impl.persistence.entity.TimerEntity.execute(TimerEntity.java:62)&lt;BR /&gt; at org.activiti.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:58)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;What's wrong here ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;EDIT : &lt;BR /&gt;&lt;BR /&gt;Actually now it writes "Timeout" after 1 second, but still got the nullPointerException. Plus, if I put a while(true); in my script, the timer doesn't work anymore (the flow gets stucked in the script task).&lt;/STRONG&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 15:14:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59963#M36963</guid>
      <dc:creator>mathiasd</dc:creator>
      <dc:date>2011-09-21T15:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Border Timer Events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59964#M36964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wrong forum…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2011 16:56:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59964#M36964</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-09-21T16:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Border Timer Events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59965#M36965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could someone moves this subject to the right forum ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 07:31:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59965#M36965</guid>
      <dc:creator>mathiasd</dc:creator>
      <dc:date>2011-09-22T07:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Border Timer Events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59966#M36966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Subject is now here : &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2454" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2454&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2011 08:28:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-border-timer-events/m-p/59966#M36966</guid>
      <dc:creator>mathiasd</dc:creator>
      <dc:date>2011-09-22T08:28:28Z</dc:date>
    </item>
  </channel>
</rss>

