AnsweredAssumed Answered

Problem Running shell script using Activiti explorer

Question asked by rahuldahiya on Aug 12, 2015
Latest reply on Aug 14, 2015 by martin.grofcik
Greetings!!

I've been trying to run a shell script using the Activiti Explorer. I am trying to create a simple model. In this model I start with "StartEvent", then add a script task to it and an "EndEvent" to complete the model. Under the script task I've set Script Format parameter as ShellScript, I've given it a name and in the "Script" parameter I have added a simple shell command "mkdir -p {dir}". When I save this model and deploy it , it gets competed successfully without errors but the shell command is not executed (as the directory doesnot gets created).
I've read about using service tasks but not sure how to execute shell script using it. Pointers or any help regarding this will be appretiated :).

Thanks,
Rahul

P.S - I am logging in using Kermit user and Activiti version is 5.18.0

Outcomes