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
I did look up to this test in the source. It is Java file. I am trying to create the workflow using the Activiti's User Interface in the browser and not through Java Api's.
I don't think I will need to use the Java API to create the workflow from the browser. I was hoping i could simply configure the scripts from the UI. Correct me if I am wrong.