cancel
Showing results for 
Search instead for 
Did you mean: 

WaitTimeInMillis property

ghernandez
Champ in-the-making
Champ in-the-making
Hi guys,

I am using activiti and my workflow component worked fine. However, I introduced WaitTimeInMillis property for defaultJobExecutor bean and my Intermediate timer event is not working now. I am trying to use a timer event with 20 seconds (PT20S) but it's seems like I was PT0S because it is so fast (same date before and after).

I set WaitTimeInMillis because I had problems debugging workflow component. Does anyone idea how to fix it? How can I do debugg and works my timer event?

Does someone have information about WaitTimeInMillis property?


Thanks for your help,


Gustavo Hernandez
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
Wait let's take a step back here: where did you set this property? On which bean? WHat are you trying to achieve?

ghernandez
Champ in-the-making
Champ in-the-making
Hi,

1. I set that property in application-config.xml, I am working with spring.

bean id="defaultJobExecutor" class="org.activiti.engine.impl.jobexecutor.DefaultJobExecutor"
        property name="waitTimeInMillis" value="500000"
/bean

2. I set in defaultJobExecutor bean

3. Before to have this property my intermediate timer event worked, however I had problems for debugging everything in mi IntelliJ , so I found out in internet this property and I can debug my component that is using Activiti now, however my intermediate timer event is not working now, it seems like I set PT0S in my timer event and I have PT20S.

Could you help me?

Thanks,

Gustavo Hernandez

trademak
Star Contributor
Star Contributor
Hi Gustavo,

I don't understand the question. Which version of Activiti are you using? Did you see there's another AsyncJobExecutor in 5.17 as well?

Best regards,