Hi,
For the above mentioned scenario, i have made the jobexecutor configuration as below
<bean id="jobExecutor" class="org.activiti.engine.impl.jobexecutor.JobExecutor">
<property name="lockTimeInMillis" value="7200000"/>
</bean>
<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
…
…
<property name="jobExecutor" ref="jobExecutor" />
…
…
</bean>
what i observe is, since the service tasks are mentioned as async, once the JVM is restarted, the service tasks operation resumes from the last operation, whereas the delay of how much time it takes to resume the operation after JVM restart is not predictable. At times i used to see the operation getting started rightaway and at times it takes few minutes, and once i saw that the operation is taking 2 hours for it to continue. Is this anything related to lockTimeInMillis parameter? Could you please provide some details about it?
Thanks,
Regards,
Lakshmi