Integration with Windows PowerShell

I would like to ask: how can I get Flowable to run Powershell scripts as a service task? Even better if it can input parameters and retrieve results from the Powershell scripts.

I am asking because have a primarily Windows environment with lots of PowerShell scripts already available for day-to-day administrative tasks, and is now looking at Flowable to implement an approval workflow that can automate the servicing of requests.

Thanks for any advice in advance.


Technically you can run system commands from Java (or another language that runs on the JVM).
That means you can run them from a Service Task or Script Task.
But; implementing something like this raises serious security concerns. And should be addressed.

This is one of the reasons we provide the ‘secure scripting’ feature. (