Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Camunda Can't find scripting engine for 'python': scriptEngine is null

The process could not be started. :
Cannot instantiate process definition Process_03eqpht:3:7ff29d88-51a6-11ec-820b-4e796e7082df: Can't find scripting engine for 'python': scriptEngine is null

I have install camunda and running it but when i run new process which has python as script define in it. Camunda throw error for python and groovy script.

I have python already installed in system.

This is camunda workflow:-

enter image description here

Running of camunda:

enter image description here

Error:

enter image description here

like image 940
Himanshu sharma Avatar asked Sep 02 '25 06:09

Himanshu sharma


1 Answers

You need to add a Scripting Engine that can run Phyton. There is support for Jyton:

Camunda Platform supports scripting with JSR-223 compatible script engine implementations. Currently we test the integration for Groovy, JavaScript, JRuby and Jython. To use a scripting engine it is necessary to add the corresponding jar to the classpath.

See the documentation: https://docs.camunda.org/manual/7.17/user-guide/process-engine/scripting/

I haven't done that - but here is a discussion on how to use Camunda with Python: https://forum.camunda.io/t/python-integration-with-camunda/8846/2

like image 198
pme Avatar answered Sep 05 '25 01:09

pme