cancel
Showing results for 
Search instead for 
Did you mean: 

Simply timer

gslamy
Champ in-the-making
Champ in-the-making
Hello!

I have a some problem with timer. I want to add timer after startEvent and get task after delay (1 minute).
My problem is that I don't get the task after delay, but I see it into View Process Diagram.
What do I do wrong?


  <process id="myProcess" name="My process" isExecutable="true">
    <startEvent id="alfrescoStartevent1" name="Alfresco start" activiti:formKey="wf:submitAdhocTask"></startEvent>
    <userTask id="alfrescoUsertask1" name="Alfresco User Task" activiti:formKey="wf:activitiReviewTask"></userTask>
    <intermediateCatchEvent id="timerintermediatecatchevent1" name="TimerCatchEvent">
      <timerEventDefinition>
        <timeDuration>PT1M</timeDuration>
      </timerEventDefinition>
    </intermediateCatchEvent>
    <sequenceFlow id="flow1" sourceRef="alfrescoStartevent1" targetRef="timerintermediatecatchevent1"></sequenceFlow>
    <sequenceFlow id="flow2" sourceRef="timerintermediatecatchevent1" targetRef="alfrescoUsertask1"></sequenceFlow>
    <endEvent id="endevent1" name="End"></endEvent>
    <sequenceFlow id="flow3" sourceRef="alfrescoUsertask1" targetRef="endevent1"></sequenceFlow>
  </process>
3 REPLIES 3

gslamy
Champ in-the-making
Champ in-the-making

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,
Can you create jUnit test please?
http://forums.activiti.org/content/sticky-how-write-unit-test

Regards
Martin

jbarrez
Star Contributor
Star Contributor
What do you mean 'but I see it into View Process Diagram.'? Can you see in the database where the process is stuck?