cancel
Showing results for 
Search instead for 
Did you mean: 

I keep getting new unknown tasks from nowhere, when I restart my Tomcat server!!!!

mehranhatami
Champ in-the-making
Champ in-the-making
Hi,

I am trying to create a RESTful web app, which mostly revolves around creating new process instances using Rest API,
and also get the user tasks and stuff like that.
I usually clean all the inbox tasks to start testing my code.
I start a new process, get the tasks list, start another process and etc. everything works find so far,
before I restart my Tomcat server I usually clean all the inbox tasks again.
but when I run my Tomcat server, although I have cleaned all the tasks in the inbox,
I got new crappy tasks in the inbox, which none of them makes sense,
all these tasks have these 2 task title:

<strong>Provide new sales lead</strong>
<strong>Provide new sales lead</strong>
<strong>Provide new sales lead</strong>
<strong>Provide new sales lead</strong>
<strong>First line support</strong>
<strong>First line support</strong>
<strong>Provide new sales lead</strong>
<strong>Provide new sales lead</strong>
<strong>Provide new sales lead</strong>
<strong>…</strong>

please someone help me with this painful situation.

Thanks,
Mehran
1 REPLY 1

mseiden
Champ in-the-making
Champ in-the-making
Make sure you remove this bean from activiti-standalone-context.xml in activiti explorer, activiti-context.xml in rest app, or in your own web application:


  <bean id="demoDataGenerator" class="org.activiti.explorer.demo.DemoDataGenerator" init-method="init">
    <property name="processEngine" ref="processEngine" />
   
    <!– Set following properties to false if certain demo data is not wanted –>
    <property name="createDemoUsersAndGroups" value="true" />
    <property name="createDemoProcessDefinitions" value="true" />
    <property name="createDemoModels" value="true" />
    <property name="generateReportData" value="true" />
  </bean>