<?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: call activity with attached timer boundary in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60782#M37615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;About the test case, is a little bit hard to test this situation with the job executor activated. To test this scenario, I have to setup some infra-structure…&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;I never have the jobexecutor activated in unit tests… The unittest explicitly executes the jobs… See the unit tests for examples&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I put a service task in the diagram (duplicate.jpg), when the 'Register' completes, it creates a new 'Inspect' task (a new record on act_ru_task and act_ru_job is created)… and so on in a recursive way. I was wondering how can I provide this feature without create a new task (for shure setting cancelActivity=true), but then I got: org.activiti.engine.ActivitiException: this activity doesn't accept signals.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Uhhmmm do not loop back to the user task? Or do I mis something… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I remove the service task (not_duplicate.jpg) the job executes and task remains OK.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;What is the definition of OK? No duplicate because you do not loop back to it&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;About the event listeners ok, better show up… solving the problem above, the work is done. There is another way to send, for exemple, an e-mail when times out?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Have you read the documentation? &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/index.html#bpmnEmailTask" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/index.html#bpmnEmailTask&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2011 22:43:26 GMT</pubDate>
    <dc:creator>ronald_van_kuij</dc:creator>
    <dc:date>2011-09-15T22:43:26Z</dc:date>
    <item>
      <title>call activity with attached timer boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60777#M37610</link>
      <description>Hello,I have a diagram in which a user activity and a call activity has a timer boundary event attached (see attachment).From the element timer of both activities, an outgoing sequence flow goes to a service activity. When time out occours in the user activity, the activity is canceled as expected (</description>
      <pubDate>Thu, 15 Sep 2011 11:28:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60777#M37610</guid>
      <dc:creator>alemser</dc:creator>
      <dc:date>2011-09-15T11:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: call activity with attached timer boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60778#M37611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;interrupting events are not yet fully implemeneted, hence why it probably doesnt work. Thats also the reason why we didnt document it so far.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 13:47:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60778#M37611</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-09-15T13:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: call activity with attached timer boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60779#M37612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok, understand.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This part of process is important to our team and I would like to make some suggestions, if possible…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. When timeout, and the attribute cancelActivity=false, today the engine creates a new task and keep the actual task activie. For our business, this is a problem, because the user see a duplicate task in your task list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Possibility to add event listeners to timers, because in case of cancelActivity=false, it will be nice to notify the assignee that it is delayed and notify the manager about the delay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 14:51:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60779#M37612</guid>
      <dc:creator>alemser</dc:creator>
      <dc:date>2011-09-15T14:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: call activity with attached timer boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60780#M37613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1 might be a bug, but I would find that very strange. Do you have a small unittest?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2: so you don't want this to show up in yor process anywhere? I would personally prefer that, model it in.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 17:19:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60780#M37613</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-09-15T17:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: call activity with attached timer boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60781#M37614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;About the test case, is a little bit hard to test this situation with the job executor activated. To test this scenario, I have to setup some infra-structure…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I put a service task in the diagram (duplicate.jpg), when the 'Register' completes, it creates a new 'Inspect' task (a new record on act_ru_task and act_ru_job is created)… and so on in a recursive way. I was wondering how can I provide this feature without create a new task (for shure setting cancelActivity=true), but then I got: org.activiti.engine.ActivitiException: this activity doesn't accept signals.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I remove the service task (not_duplicate.jpg) the job executes and task remains OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;About the event listeners ok, better show up… solving the problem above, the work is done. There is another way to send, for exemple, an e-mail when times out?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 20:19:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60781#M37614</guid>
      <dc:creator>alemser</dc:creator>
      <dc:date>2011-09-15T20:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: call activity with attached timer boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60782#M37615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;About the test case, is a little bit hard to test this situation with the job executor activated. To test this scenario, I have to setup some infra-structure…&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;I never have the jobexecutor activated in unit tests… The unittest explicitly executes the jobs… See the unit tests for examples&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I put a service task in the diagram (duplicate.jpg), when the 'Register' completes, it creates a new 'Inspect' task (a new record on act_ru_task and act_ru_job is created)… and so on in a recursive way. I was wondering how can I provide this feature without create a new task (for shure setting cancelActivity=true), but then I got: org.activiti.engine.ActivitiException: this activity doesn't accept signals.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Uhhmmm do not loop back to the user task? Or do I mis something… &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If I remove the service task (not_duplicate.jpg) the job executes and task remains OK.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;What is the definition of OK? No duplicate because you do not loop back to it&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;About the event listeners ok, better show up… solving the problem above, the work is done. There is another way to send, for exemple, an e-mail when times out?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Have you read the documentation? &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/index.html#bpmnEmailTask" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/index.html#bpmnEmailTask&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 22:43:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60782#M37615</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-09-15T22:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: call activity with attached timer boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60783#M37616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok Ronald, thanks… I think that I mis something.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;finally, I think that there is a bug when I have a timer attached to a call activity, because when times out, and the attribute cancelActivity=true, seems that the process go to a 'limbo' (like first image uploaded)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 23:26:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60783#M37616</guid>
      <dc:creator>alemser</dc:creator>
      <dc:date>2011-09-15T23:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: call activity with attached timer boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60784#M37617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Limbo? Like in doing nothing? What is the state in the db? Better yet, provide a small a unit test that demonstrates it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 00:02:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60784#M37617</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-09-16T00:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: call activity with attached timer boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60785#M37618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I modified the file CallActivityTest.java from the &lt;/SPAN&gt;&lt;STRONG&gt;activiti-engine-exemples&lt;/STRONG&gt;&lt;SPAN&gt; project of Activiti 5.7 to reproduce the situation and it really works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;modifications:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. set attribute jobExecutorActivate to true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. modify the file CallActivityTest.java (is not so straightforward test with timers)&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp; @Deployment(resources={&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "org/activiti/examples/bpmn/callactivity/orderProcess.bpmn20.xml",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "org/activiti/examples/bpmn/callactivity/checkCreditProcess.bpmn20.xml"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; })&lt;BR /&gt;&amp;nbsp; public void testOrderProcessWithCallActivity() {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // After the process has started, the 'verify credit history' task should be active&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessInstance pi = runtimeService.startProcessInstanceByKey("orderProcess");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TaskQuery taskQuery = taskService.createTaskQuery();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Task verifyCreditTask = taskQuery.singleResult();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals("Verify credit history", verifyCreditTask.getName());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Verify with Query API&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ProcessInstance subProcessInstance = runtimeService.createProcessInstanceQuery().superProcessInstanceId(pi.getId()).singleResult();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertNotNull(subProcessInstance);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals(pi.getId(), runtimeService.createProcessInstanceQuery().subProcessInstanceId(subProcessInstance.getId()).singleResult().getId());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Completing the task with approval, will end the subprocess and continue the original process&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //alemser: commented to teste timer due date&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //taskService.complete(verifyCreditTask.getId(), CollectionUtil.singletonMap("creditApproved", true));&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //alemser: wait 10 seconds here to timer due date&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println("put a break point here and wait 10 seconds!");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Task prepareAndShipTask = taskQuery.singleResult();&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals("Prepare and Ship", prepareAndShipTask.getName());&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;3. modify the orderProcess.bpmn20.xml adding the boundary event and the service task&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;definitions id="definitions"&lt;BR /&gt; xmlns:activiti="&lt;A href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;"&lt;BR /&gt; xmlns="&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;BR /&gt; xmlns:xsi="&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;BR /&gt; xmlns:bpmndi="&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;BR /&gt; xmlns:smileysurprised:mgdi="&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;BR /&gt; xmlns:smileysurprised:mgdc="&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;BR /&gt; targetNamespace="Examples"&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;process id="orderProcess" name="Order process with call activity"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;startEvent id="theStart" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" sourceRef="theStart" targetRef="receiveOrder" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;manualTask id="receiveOrder" name="Receive Order" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" sourceRef="receiveOrder" targetRef="callCheckCreditProcess" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;callActivity id="callCheckCreditProcess" name="Check credit" calledElement="checkCreditProcess" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow3" sourceRef="callCheckCreditProcess" targetRef="prepareAndShipTask" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;userTask id="prepareAndShipTask" name="Prepare and Ship" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;!– alemser: new service task&amp;nbsp; –&amp;gt;&lt;BR /&gt; &amp;lt;serviceTask completionQuantity="1" id="_service_task" implementation="webService" isForCompensation="false" name="Registry" &lt;BR /&gt;&amp;nbsp;&amp;nbsp; startQuantity="1" activiti:class="org.activiti.examples.bpmn.callactivity.MyJavaDelegate"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;incoming&amp;gt;flowFromTimer&amp;lt;/incoming&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;outgoing&amp;gt;flowFromService&amp;lt;/outgoing&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/serviceTask&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– alemser: new boundary timer&amp;nbsp; –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;boundaryEvent attachedToRef="callCheckCreditProcess" cancelActivity="true" id="_timer_boundary" name="" parallelMultiple="false"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;outgoing&amp;gt;flowFromTimer&amp;lt;/outgoing&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;PT10S&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;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– alemser: new sequence flows&amp;nbsp; –&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flowFromTimer" sourceRef="_timer_boundary" targetRef="_service_task" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flowFromService" sourceRef="_service_task" targetRef="prepareAndShipTask" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sequenceFlow id="flow4" sourceRef="prepareAndShipTask" targetRef="theEnd" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt; &amp;lt;endEvent id="theEnd" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;/process&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/definitions&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;4. finally create the java delegate to get work done&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;public class MyJavaDelegate implements JavaDelegate {&lt;BR /&gt;&lt;BR /&gt; public void execute(DelegateExecution execution) throws Exception {&lt;BR /&gt;&amp;nbsp; System.out.println("[MyJavaDelegate] java delegate test");&amp;nbsp; &lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I rewrote my original model in Oryx and, after redeploy it, works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that all my problems is solved now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 11:43:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60785#M37618</guid>
      <dc:creator>alemser</dc:creator>
      <dc:date>2011-09-16T11:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: call activity with attached timer boundary</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60786#M37619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;great it works now, what was the last issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh and &lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;modifications:&lt;BR /&gt;1. set attribute jobExecutorActivate to true&lt;BR /&gt;2. modify the file CallActivityTest.java (is not so straightforward test with timers)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;There are several explicit timer tests and in lots of other tests the timers are used as well… Fireing them 'manually' is not difficult at all… just look at some examples&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 14:39:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/call-activity-with-attached-timer-boundary/m-p/60786#M37619</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-09-16T14:39:56Z</dc:date>
    </item>
  </channel>
</rss>

