If Activiti Modeler is running simultaneously with my application, and if it uses the same base for the Activiti engine as my application, then the service task and script task following the timers (the boundary timer event and the intermediate timer catching event ) do not work, and cause errors. Error descriptions are as follows: "couldn't instantiate <full_class_name>" - for the service task (if the class <full_name_ of the class> is specified), "Can't find a scripting engine for 'groovy'" - for a script task . If I use Spring , and assign a bin to the service task , then I get an error with this description: "Could not execute service task expression" .
At the same time I found and tried this recommendation:
In order for everything to work without errors, you need to compile the classes that are used by the service task, and put them with all the packages in which they are located in the WEB_INF / classes folder. Also, in order to avoid problems with the load, it is necessary in WEB_INF / lib to throw the jar-file of this library, and that used by the main program (the same version).
This works if Spring beans are not used. But this is also a crutch decision, and I would like to disable all event timer events in the database in Activiti Modeler . Not yet found how to do it.
I watched the documentation for the system administrator. It says about the properties that can be set in activiti-app.properties . I found several properties that, judging by the description, can help me, and tried to set the necessary values for them:
elastic-search.server.type=none event.processing.enabled=false event.generation.enabled=false But this also gave nothing.
PS I use Activiti 6.0.0.