cancel
Showing results for 
Search instead for 
Did you mean: 

Running shell script from Activiti

alexbt
Champ in-the-making
Champ in-the-making
What is the best way to run a ksh or bash script (instead of a Java class) from within a script task?
Or the only way is to wrap it with a Java class and use ProcessBuilder to run ksh/bash script?
Maybe it's better to use Groovy to start ksh/bash script?
Any ideas?

One more question. Can I use jython instead of Groovy as a script implementation?

Thanks in advance,
Alex
13 REPLIES 13

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
we had a simple internal poc, nothing advanced/production ready but the internal project 'stopped'  unfortunately. Not sure if I can find the code…

smirzai
Champ on-the-rise
Champ on-the-rise
Just for future probable readers. The feature is implemented.
http://jira.codehaus.org/browse/ACT-461

bogdartysh
Champ in-the-making
Champ in-the-making
that link does not work any longer…
is there a new one or some specs on the matter?

jbarrez
Star Contributor
Star Contributor
The shell task was implemented and is part of the engine. Check the user guide for more info.