execute scripts remotly (ssh)?

Hi guys,

I´m a begginer with bonita bpm but i heard about the great capabilities from this tool.
Can you clarify if it is possible to create a process where we schedule a script execution? Then i need to read script output and define some conditions to contiue the process.
It is possible? There is some example available similar to the described?

Thanks in advance.

Hi,

you can use a System Script connector.
see http://documentation.bonitasoft.com/script-connectors

Regards,

An example that show how to use it is available ine the projects section:
http://community.bonitasoft.com/project/display-system-info

Thanks guys,

There is any connector that allow me to connect to a virtual machine (ssh) and execute system scripts under this machine?

Thanks in advance.

Hi,

Aurelien’s answer should do the job. You can execute your own script to connect your VM like you want. Maybe that the difficulties are due to your Operating System? I don’t know well Windows and I’m not sure that you can use Putty in CLI for example. But if you would like something working on different kind of platforms you may take a look on python with the paramiko module (it implements the SSH2 protocol for secure connections to remote machines).

Regards,

Jérémy