Pythonpath for scripttask
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-28-2014 05:52 AM
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.
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2014 10:59 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2014 11:09 AM
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2014 11:57 AM
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
No, the scriptTask only works with inline scripts currently.
You'll need to extend the functionality yourself to work with scripts from another location
