Demo Processes - Activiti Explorer

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member

Demo Processes - Activiti Explorer

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
Intermediate

Re: Demo Process - Activiti Explorer

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

Active Member

Re: Demo Process - Activiti Explorer

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

Intermediate

Re: Demo Processes - Activiti Explorer

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

Active Member

Re: Demo Processes - Activiti Explorer

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.

Intermediate

Re: Demo Processes - Activiti Explorer

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