<?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 Loop with timer in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/loop-with-timer/m-p/160351#M114327</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 have a problem with implementing a loop with timer. I want a logic as, first print "Please Wait", then start timer for 3 seconds, then goes to a gateway to check a parameter. If the parameter greater than something print some message then end. If not goes back to the print waiting then timer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is what I have…Now it works fine if I have parameter greater than something going directly to the end. But when the parameter goes below something, it should goes back to "Please Wait" then goes to timer to wait for another 3 seconds then goes to "Please Wait" again. But now it keeps printing "Please Wait" seems that it never stops at the timer. Anyone can help?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;lt;definitions targetNamespace="&lt;/SPAN&gt;&lt;A href="http://www.activiti.org/test" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/test&lt;/A&gt;&lt;SPAN&gt;" expressionLanguage="&lt;/SPAN&gt;&lt;A href="http://www.w3.org/1999/XPath" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/1999/XPath&lt;/A&gt;&lt;SPAN&gt;" typeLanguage="&lt;/SPAN&gt;&lt;A href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdi="&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/DD/20100524/DI" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/DD/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" xmlns&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;mgdc="&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/DD/20100524/DC" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/DD/20100524/DC&lt;/A&gt;&lt;SPAN&gt;" xmlns:bpmndi="&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/BPMN/20100524/DI" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/DI&lt;/A&gt;&lt;SPAN&gt;" xmlns:activiti="&lt;/SPAN&gt;&lt;A href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;" xmlns:xsi="&lt;/SPAN&gt;&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;" xmlns="&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;&lt;SPAN&gt;"&amp;gt; -&amp;lt;process isExecutable="true" name="My process" id="waitProcess"&amp;gt; -&amp;lt;scriptTask name="Print Message" id="scripttask1" activiti:autoStoreVariables="true" scriptFormat="groovy"&amp;gt; &amp;lt;script&amp;gt;out&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rintln"Task Complete";&amp;lt;/script&amp;gt; &amp;lt;/scriptTask&amp;gt; &amp;lt;endEvent name="End" id="endevent1"/&amp;gt; &amp;lt;sequenceFlow name="to End" id="flow2" targetRef="endevent1" sourceRef="scripttask1"/&amp;gt; &amp;lt;startEvent name="Start" id="startevent1"/&amp;gt; -&amp;lt;scriptTask name="Print Waiting" id="scripttask2" activiti:autoStoreVariables="true" scriptFormat="groovy"&amp;gt; &amp;lt;script&amp;gt;out&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rintln"Please Wait+${conditionParameter}";&amp;lt;/script&amp;gt; &amp;lt;/scriptTask&amp;gt; &amp;lt;sequenceFlow name="to Print Waiting" id="flow11" targetRef="scripttask2" sourceRef="startevent1"/&amp;gt; &amp;lt;exclusiveGateway name="Exclusive Gateway" id="exclusivegateway1"/&amp;gt; -&amp;lt;sequenceFlow name="to Print Message" id="flow12" targetRef="scripttask1" sourceRef="exclusivegateway1"&amp;gt; -&amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;![CDATA[${conditionParameter&amp;gt;50}]]&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/conditionExpression&amp;gt; &amp;lt;/sequenceFlow&amp;gt; -&amp;lt;sequenceFlow name="to Print Waiting" id="flow14" targetRef="scripttask2" sourceRef="exclusivegateway1"&amp;gt; -&amp;lt;conditionExpression xsi:type="tFormalExpression"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;![CDATA[${conditionParameter&amp;lt;=50}]]&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/conditionExpression&amp;gt; &amp;lt;/sequenceFlow&amp;gt; &amp;lt;receiveTask name="Receive Task" id="receivetask1"/&amp;gt; -&amp;lt;boundaryEvent name="Timer" id="boundarytimer1" cancelActivity="true" attachedToRef="receivetask1"&amp;gt; &amp;lt;timerEventDefinition/&amp;gt; &amp;lt;/boundaryEvent&amp;gt; &amp;lt;sequenceFlow name="to Receive Task" id="flow15" targetRef="receivetask1" sourceRef="scripttask2"/&amp;gt; &amp;lt;sequenceFlow name="to Exclusive Gateway" id="flow16" targetRef="exclusivegateway1" sourceRef="boundarytimer1"/&amp;gt; &amp;lt;/process&amp;gt; -&amp;lt;bpmndi:BPMNDiagram id="BPMNDiagram_waitProcess"&amp;gt; -&amp;lt;bpmndi:BPMNPlane id="BPMNPlane_waitProcess" bpmnElement="waitProcess"&amp;gt; -&amp;lt;bpmndi:BPMNShape id="BPMNShape_scripttask1" bpmnElement="scripttask1"&amp;gt; &amp;lt;omgdc:Bounds y="286.0" x="540.0" width="105.0" height="55.0"/&amp;gt; &amp;lt;/bpmndi:BPMNShape&amp;gt; -&amp;lt;bpmndi:BPMNShape id="BPMNShape_endevent1" bpmnElement="endevent1"&amp;gt; &amp;lt;omgdc:Bounds y="296.0" x="780.0" width="35.0" height="35.0"/&amp;gt; &amp;lt;/bpmndi:BPMNShape&amp;gt; -&amp;lt;bpmndi:BPMNShape id="BPMNShape_startevent1" bpmnElement="startevent1"&amp;gt; &amp;lt;omgdc:Bounds y="296.0" x="20.0" width="35.0" height="35.0"/&amp;gt; &amp;lt;/bpmndi:BPMNShape&amp;gt; -&amp;lt;bpmndi:BPMNShape id="BPMNShape_scripttask2" bpmnElement="scripttask2"&amp;gt; &amp;lt;omgdc:Bounds y="286.0" x="100.0" width="105.0" height="55.0"/&amp;gt; &amp;lt;/bpmndi:BPMNShape&amp;gt; -&amp;lt;bpmndi:BPMNShape id="BPMNShape_boundarytimer1" bpmnElement="boundarytimer1"&amp;gt; &amp;lt;omgdc:Bounds y="296.0" x="340.0" width="30.0" height="30.0"/&amp;gt; &amp;lt;/bpmndi:BPMNShape&amp;gt; -&amp;lt;bpmndi:BPMNShape id="BPMNShape_exclusivegateway1" bpmnElement="exclusivegateway1"&amp;gt; &amp;lt;omgdc:Bounds y="296.0" x="404.0" width="40.0" height="40.0"/&amp;gt; &amp;lt;/bpmndi:BPMNShape&amp;gt; -&amp;lt;bpmndi:BPMNShape id="BPMNShape_receivetask1" bpmnElement="receivetask1"&amp;gt; &amp;lt;omgdc:Bounds y="286.0" x="250.0" width="105.0" height="55.0"/&amp;gt; &amp;lt;/bpmndi:BPMNShape&amp;gt; -&amp;lt;bpmndi:BPMNEdge id="BPMNEdge_flow2" bpmnElement="flow2"&amp;gt; &amp;lt;omgdi:waypoint y="313.0" x="645.0"/&amp;gt; &amp;lt;omgdi:waypoint y="313.0" x="780.0"/&amp;gt; -&amp;lt;bpmndi:BPMNLabel&amp;gt; &amp;lt;omgdc:Bounds y="0.0" x="10.0" width="30.0" height="14.0"/&amp;gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt; -&amp;lt;bpmndi:BPMNEdge id="BPMNEdge_flow11" bpmnElement="flow11"&amp;gt; &amp;lt;omgdi:waypoint y="313.0" x="55.0"/&amp;gt; &amp;lt;omgdi:waypoint y="313.0" x="100.0"/&amp;gt; -&amp;lt;bpmndi:BPMNLabel&amp;gt; &amp;lt;omgdc:Bounds y="20.0" x="-36.0" width="71.0" height="14.0"/&amp;gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt; -&amp;lt;bpmndi:BPMNEdge id="BPMNEdge_flow12" bpmnElement="flow12"&amp;gt; &amp;lt;omgdi:waypoint y="316.0" x="444.0"/&amp;gt; &amp;lt;omgdi:waypoint y="313.0" x="540.0"/&amp;gt; -&amp;lt;bpmndi:BPMNLabel&amp;gt; &amp;lt;omgdc:Bounds y="2.0" x="-41.0" width="80.0" height="14.0"/&amp;gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt; -&amp;lt;bpmndi:BPMNEdge id="BPMNEdge_flow14" bpmnElement="flow14"&amp;gt; &amp;lt;omgdi:waypoint y="296.0" x="424.0"/&amp;gt; &amp;lt;omgdi:waypoint y="222.0" x="423.0"/&amp;gt; &amp;lt;omgdi:waypoint y="222.0" x="279.0"/&amp;gt; &amp;lt;omgdi:waypoint y="222.0" x="154.0"/&amp;gt; &amp;lt;omgdi:waypoint y="286.0" x="152.0"/&amp;gt; -&amp;lt;bpmndi:BPMNLabel&amp;gt; &amp;lt;omgdc:Bounds y="4.0" x="-55.0" width="71.0" height="14.0"/&amp;gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt; -&amp;lt;bpmndi:BPMNEdge id="BPMNEdge_flow15" bpmnElement="flow15"&amp;gt; &amp;lt;omgdi:waypoint y="313.0" x="205.0"/&amp;gt; &amp;lt;omgdi:waypoint y="313.0" x="250.0"/&amp;gt; -&amp;lt;bpmndi:BPMNLabel&amp;gt; &amp;lt;omgdc:Bounds y="4.0" x="-23.0" width="100.0" height="14.0"/&amp;gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt; -&amp;lt;bpmndi:BPMNEdge id="BPMNEdge_flow16" bpmnElement="flow16"&amp;gt; &amp;lt;omgdi:waypoint y="311.0" x="370.0"/&amp;gt; &amp;lt;omgdi:waypoint y="316.0" x="404.0"/&amp;gt; -&amp;lt;bpmndi:BPMNLabel&amp;gt; &amp;lt;omgdc:Bounds y="0.0" x="10.0" width="100.0" height="42.0"/&amp;gt; &amp;lt;/bpmndi:BPMNLabel&amp;gt; &amp;lt;/bpmndi:BPMNEdge&amp;gt; &amp;lt;/bpmndi:BPMNPlane&amp;gt; &amp;lt;/bpmndi:BPMNDiagram&amp;gt; &amp;lt;/definitions&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Aug 2013 15:15:36 GMT</pubDate>
    <dc:creator>rachel</dc:creator>
    <dc:date>2013-08-14T15:15:36Z</dc:date>
    <item>
      <title>Loop with timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/loop-with-timer/m-p/160351#M114327</link>
      <description>Hi,I have a problem with implementing a loop with timer. I want a logic as, first print "Please Wait", then start timer for 3 seconds, then goes to a gateway to check a parameter. If the parameter greater than something print some message then end. If not goes back to the print waiting then timer. B</description>
      <pubDate>Wed, 14 Aug 2013 15:15:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/loop-with-timer/m-p/160351#M114327</guid>
      <dc:creator>rachel</dc:creator>
      <dc:date>2013-08-14T15:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Loop with timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/loop-with-timer/m-p/160352#M114328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Attached the xml…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2013 18:27:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/loop-with-timer/m-p/160352#M114328</guid>
      <dc:creator>rachel</dc:creator>
      <dc:date>2013-08-14T18:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Loop with timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/loop-with-timer/m-p/160353#M114329</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;The only timer event definition I see in the XML doesn't contain a time definition, like timeCycle or timeDate&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>Wed, 21 Aug 2013 08:14:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/loop-with-timer/m-p/160353#M114329</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-08-21T08:14:36Z</dc:date>
    </item>
  </channel>
</rss>

