cancel
Showing results for 
Search instead for 
Did you mean: 

Task not appearing in Inbox for a process definitation with timer start event

manchandap
Champ in-the-making
Champ in-the-making
Respected Activiti Experts,

I am exploring usage of Activiti for using in our organization and as part of that doing hands on. I have modified the Financial Report Process available in 10 minutes tutorial to make the start event timer based:

<blockcode>
  <startEvent id="timerstartevent1" name="Timer start">
      <!– process will start 4 times, in 5 minute intervals, starting on 10th march 2014, 10:30  –>
      <timerEventDefinition>
         <timeCycle>R4/2014-03-10T10:30/PT5M</timeCycle>
      </timerEventDefinition>
  </startEvent>
</blockcode>

I am able to deploy this process using the Activiti Explorer but I am unable to see any task generated for user 'fozzie'.  My understanding is that this timer event should trigger and add tasks for the users. Is it correct understanding?

If this understanding is correct, then how I can create tasks automatically for a user for example, I want a task to be done user, every monday.

i am attaching the complete process definition file as a text file.
4 REPLIES 4

frederikherema1
Star Contributor
Star Contributor
If you want to have it every monday, consider using a cron-expresson (see http://www.activiti.org/userguide/#timerEventDefinitions). I think the start-time is causing the issue you're seeing.

manchandap
Champ in-the-making
Champ in-the-making
Thanks for the reply. I am trying the examples from the user guide.

manchandap
Champ in-the-making
Champ in-the-making
I tried to create the fixed date task by adding the following to my process definition. However, I am still not getting any task for Fozzie.

<blockcode>
  <startEvent id="timerstartevent1" name="Timer start">
      <timerEventDefinition>
         <timeDate>2014-03-11T12:25:15</timeDate>
      </timerEventDefinition>
  </startEvent>
</blockcode>

Am I missing anything. Attaching modified process definition.

jbarrez
Star Contributor
Star Contributor
Do you see anything in the ACT_RU_JOB table? it should have a timer-job in there with that date.