cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti database runtime table not updating

abhishek1
Champ in-the-making
Champ in-the-making
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?

1 REPLY 1

jbarrez
Star Contributor
Star Contributor
That sounds very unlikely. Can you post the java code you are using to get to this result?
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.