Disable Camunda Engine Task execution capability

There is already a Camunda engine running as Spring Boot Application. Due to custom Authentication and Authorization, I am not able to use Camunda UI (Cockpit, Tasklist, etc.).

I have deployed another Camunda engine (with Basic Auth) as a Spring boot Application without any customization and connected to the same DB (which is used by already running the Application) so that I can use the WebUI.

Now the problem is when I stopped my actual Application which executes the Tasks, I see ClassNotFoundException for JavaDelegate class implementation. I realized that since my actual application is closed and there is another Camunda engine running connected to the same DB, so that is working as another instance for the Camunda engine and that started picking up the tasks and started executing.

How can I disable the Task execution feature, so that I can use another Application just for Web UI

Use “deploymentAware=true”.

1 Like

I have tried the below properties in application.yml, but that does not seem to be working.

camunda.bpm:
  admin-user:
    id: ${CAMUNDA_ADMIN_USER:demo}
    password: ${CAMUNDA_ADMIN_PASSWORD:demo}
    job-execution:
      enabled: false
      deployment-aware: true

I want to completely disable the job execution.

Hi @Himanshu_Singh,

as you have created a heterogenous cluster with your spring boot apps, you can follow this video to become aware of all the pifalls: CamundaCon 2018: Camunda In A Heterogeneous Cluster (Generali) - YouTube.

Hope this helps, Ingo

IMO the element for job execution is indented wrong. It’s not a sub-element of admin user.

1 Like

Fix the indentation properly in the application.yml file

1 Like

Thanks!

Yeah, my mistake. Setting camunda.bpm.job-execution.enabled to false is what I need in this Application.

camunda.bpm:
  job-execution:
    enabled: false
2 Likes