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