cancel
Showing results for 
Search instead for 
Did you mean: 

Demo Processes - Activiti Explorer

ricardojj
Champ on-the-rise
Champ on-the-rise

How can I prevent Activiti Explorer from launching the demo called "Demo Processes", is there any way to prevent it from generating it automatically?

5 REPLIES 5

gdharley
Elite Collaborator
Elite Collaborator

Which version of activiti are you running and where are you seeing "Demo Process"?

Activiti Explorer in 5.x will launch a number of demo processes including the One Task Process, Vacation Request and HelpDesk process. 
The default REST application in 5.x will launch a similar list.

I am not familiar with the "demo process", can you provide more details of version and application.

Greg

#bp3

It's the same version, except that in the "Deployments" part, something like this

gdharley
Elite Collaborator
Elite Collaborator

Ahh, simple enough.

Open the application war and locate the "engine.properties" file.

In there you will find the following settings (among others):

# demo data properties
create.demo.users=true
create.demo.definitions=true
create.demo.models=true
create.demo.reports=true

Update the create.demo.definitions, create.demo.models and create.demo.reports and set the properties to "false".

Now restart, the demo processes will no longer be created.

Cheers,

Greg

I have this configuration:

# demo data properties

create.demo.users=true

create.demo.definitions=false

create.demo.models=false
create.demo.reports=false

I delete them every time they appear, but when I reboot the server they are generated again.

gdharley
Elite Collaborator
Elite Collaborator

Suggests your engine.properties file is not being read.

Check your logs, the DemoDataGenerator class logs (at INFO level) if it believes it needs to create the demo data.

You would see something like:
Initializing demo process definitions

Initializing demo models

Initializing demo report data

If you are seeing these log entries, then your engine.properties is not being picked up for some reason.

Greg