cancel
Showing results for 
Search instead for 
Did you mean: 

Pythonpath for scripttask

alexxl
Champ in-the-making
Champ in-the-making
Hello, I want to start script task in my process. But I need connect some my jython library (not java) for using in script. How can i change pythonpath for my task? Thank you.
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
You need to know the name of the scripting name *eg Groovy, Javascript, … and something similar for Jython and put that in the scriptFormat attribute of your scriptTask

alexxl
Champ in-the-making
Champ in-the-making
Thank you. I know scripting name  - "Jython". But I mean, that i have some jython scripts in other place and  they are written already. I want use these scripts in my activiti jythonscript . Activiti don't know about my scripts and I want to add folder with my scripts to pythonpath.

jbarrez
Star Contributor
Star Contributor
That is a whole different question 😉
No, the scriptTask only works with inline scripts currently.
You'll need to extend the functionality yourself to work with scripts from another location