# How can I disable the Process Engine?

**URL:** <https://forum.flowable.org/t/how-can-i-disable-the-process-engine/3658>\
**Category:** Flowable Engine\
**Created:** [April 1, 2019, 5:33pm UTC](https://forum.flowable.org/t/how-can-i-disable-the-process-engine/3658 "2019-04-01T17:33:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![slee](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@slee](https://forum.flowable.org/u/slee)\
**Post date:** [April 1, 2019, 5:33pm UTC](https://forum.flowable.org/t/how-can-i-disable-the-process-engine/3658/1 "2019-04-01T17:33:55Z")

</div>

I’ve an application that only uses the IdmEngine and don’t need the Process Engine. By default, the Process Engine is auto-configured by Spring even though a configurer wasn’t specified for it. How can I disable the process engine completely?

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [April 1, 2019, 7:33pm UTC](https://forum.flowable.org/t/how-can-i-disable-the-process-engine/3658/2 "2019-04-01T19:33:44Z")

</div>

The `IdmEngine` is created via the `ProcessEngine`, so if you disable the `ProcessEngine` the `IdmEngine` will not be created as well. The process engine can be disabled by setting the `flowable.process.enabled` property to `false`.

Just out of curiosity, why do you need to use the `IdmEngine` only?

---

<div class="post-metadata">

**Author:** ![slee](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@slee](https://forum.flowable.org/u/slee)\
**Post date:** [April 1, 2019, 11:13pm UTC](https://forum.flowable.org/t/how-can-i-disable-the-process-engine/3658/3 "2019-04-01T23:13:54Z")

</div>

Ahh! Thanks for your reply. This is a reporting application that would rely on the IdmEngine for authentication and authorization purpose, it’s database is a read replica of the prod.

---

<div class="post-metadata">

**Author:** ![filiphr](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.flowable.org/filiphr/32/315_2.png) [@filiphr](https://forum.flowable.org/u/filiphr)\
**Post date:** [April 2, 2019, 5:46am UTC](https://forum.flowable.org/t/how-can-i-disable-the-process-engine/3658/4 "2019-04-02T05:46:34Z")

</div>

I was wrong @slee. With the help of the [`IdmEngineAutoConfiguration`](https://github.com/flowable/flowable-engine/blob/master/modules/flowable-spring-boot/flowable-spring-boot-starters/flowable-spring-boot-autoconfigure/src/main/java/org/flowable/spring/boot/idm/IdmEngineAutoConfiguration.java) and [`IdmEngineServicesAutoConfiguration`](https://github.com/flowable/flowable-engine/blob/master/modules/flowable-spring-boot/flowable-spring-boot-starters/flowable-spring-boot-autoconfigure/src/main/java/org/flowable/spring/boot/idm/IdmEngineAutoConfiguration.java) you can startup the `IdmEngine` only. You would need to make sure that the process engine doesn’t boot up with the property I mentioned. Or you can just add the `flowable-idm-spring` dependency and you won’t have the Process engine as a dependency. This is actually what we are doing in the Flowable UI IDM Application.

Cheers,  
Filip
