AnsweredAssumed Answered

Not allowed to execute 'groovy' scripts

Question asked by mlagneaux on Nov 23, 2017
Latest reply on Jun 19, 2019 by activiti101



I've made a process starting with a script task. In this script task, I've put a really simple groovy script. When I start my process, I'm getting an error. I've got the following logs :

11:02:24,986 [http-apr-8080-exec-1] WARN  org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior  - Exception while executing initialisationVariables : You are not allowed to execute 'groovy' scripts.
11:02:24,988 [http-apr-8080-exec-1] ERROR org.activiti.engine.impl.interceptor.CommandContext  - Error while closing command context
org.activiti.engine.ActivitiException: You are not allowed to execute 'groovy' scripts.
        at com.activiti.scripting.ActivitiCustomScriptingEngines.evaluate(
        at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(
        at org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior.execute(
        at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(
        at org.activiti.engine.impl.interceptor.CommandContext.performOperation(



In my file, I've enabled script tasks and groovy script tasks thanks to the following parameters :



Is there another parameter to change to enable groovy scripts ?

Is there a specific permission to set ?


Thanks in advance for your help. Felle free to ask further details.