AnsweredAssumed Answered

Activiti database runtime table not updating

Question asked by abhishek1 on Jul 22, 2015
Latest reply on Jul 23, 2015 by jbarrez
I am using <b>Activiti</b> through eclipse and am creating a <b>Activiti workflow</b>. I am using <b>MySQL</b> database to store all the business as well as Activiti data.

I am able to create Process Instance as the <b>ACT_HI_PROCINST</b> table in the <b>Activti Database</b> updates and shows the time and duration when the instance was created. It also shows the <b>processId</b> for that particular process.

However, when I execute <i>runtimeService.setVariables</i> it gives me an error:

 
[Request processing failed; nested exception is org.activiti.engine.ActivitiObjectNotFoundException: execution 470013 doesn't exist] with root cause
    org.activiti.engine.ActivitiObjectNotFoundException: execution 470013 doesn't exist



where
470013
is the <b>processId</b>.

Similarly, the <b>runtime</b> tables in Activiti Database are not storing any data. I am not sure why this is the case.

So, my questions are as follows:

1. Why can not the <b>runtimeService</b> find/<i>see</i> the <b>processId</b> during the program execution?
2. Why are my <b>runtime</b> tables not storing any data?

Outcomes