cancel
Showing results for 
Search instead for 
Did you mean: 

Calling an exe from Activiti

parenparikh
Champ in-the-making
Champ in-the-making
Hello,

Is it possible to call an exe as part of a task in Activiti ?. I have tried using groovy and javascript in tasks but it does not seem to work ?

Does Activiti support only server side javascript and not client side ?

Any alternatives or suggestions are highly appreciated. Thanks for your time

Regards
Paren Parikh
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi,

We have a shell task that allows you to execute shell commands, maybe that's useful for you.
For the Groovy and Javascript scripting you can do what is allowed as part of JSR 223.

Best regards,

parenparikh
Champ in-the-making
Champ in-the-making
Hello Tijs,

Many thanks for your quick response.  As per your response above the shell command will only run on the server where Activiti is deployed i.e tomcat. What we are exploring is a client to client communication where in we are trying call an exe running on the desktop from the browser client.   We thought to inject a custom form with some javascript code to call a local exe and drive the workflow based on the response from the exe (there may be some security restrictions on java script) .

Regards
Paren Parikh