cancel
Showing results for 
Search instead for 
Did you mean: 

Task are auto completed after restarting the application server

jai-prakash_yad
Champ in-the-making
Champ in-the-making
Hi All,

I am facing a problem when i restart the application server(where activiti explorer is deployed).

The tasks are automatically removed from the user inbox. While checking into tables "act_hi_procinst" and "act_hi_taskinst". these are completed from user "kermit". Can you please help me out for this issue.

Regards,
Jai
5 REPLIES 5

hari
Star Contributor
Star Contributor
Hi Prakash,

Which database are you using ? if its the default h2 db then your tasks will be gone. Configure a different db for the data to persist.

jai-prakash_yad
Champ in-the-making
Champ in-the-making
Hi Hari,

Thanks for quick response…

We are using oracle database . Also we can see the completed process instance details into history tables which means tasks are completed by user  "kermit".

May be this issue due to demo stuff, i have read this somewhere not sure.

Regards,
Jai

Hi Experts,

Still facing this issue. Any help in this regard will be highly appreciated.

Regards,
Jai

jbarrez
Star Contributor
Star Contributor
Did you try disabling the demo data setup? It's really meant for demo purposes more than anything else.

Hi  jbarrez,

Thanks for the reply , I have followed below steps to resolve my problem:

1. Commented below properties in engine.properties
# demo data properties
#create.demo.users=true
#create.demo.definitions=true
#create.demo.models=true
#create.demo.reports=true

2. Deleted file DemoDataConfiguration$1.class from location /activiti-explorer/WEB-INF/classes/org/activiti/explorer/conf/

3. Deleted folder "demo" from location /activiti-explorer/WEB-INF/classes/org/activiti/explorer/


Now i am not facing issue. Thanks once again for the responses.

Regards,
Jai