Calling a python script from script activity

I have a simple work flow which has one script activity. I am trying to call the python script from the script activity as a external resource.

i deployed the workflow in my local environment, After the deployment, when i try to start the process i am getting the error as below
“Cannot instantiate process definition testPython:3:3cef50e7-f3ce-11e9-b8c4-3cf0119ca338: Can’t find scripting engine for ‘python’: scriptEngine is nu”

Kindly suggest how can i use the python script from the camunda workflow.

@pragathees Python scripting is not supported in camunda. JavaScript/Groovy is supported by camunda script engines.

If you want have the Camunda engine execute by python your best bet is to use the External Task pattern with a python client worker.

Hi @pragathees,

what about using Jython as scripting language?

Hope this helps, Ingo

If you are using tomcat then you can configure the python scripting engine as follows:
Download Jython Standalone jar and copy the jar to camunda-bpm-tomcat-{version}/server/apache-tomcat-9.0.36/lib/.