AnsweredAssumed Answered

Execute a system command from a rule

Question asked by ilias on Jan 29, 2009
Latest reply on Feb 4, 2009 by zaizi
Hello,

I'd like to know if it's possible to execute a script (bash, python, perl, ruby, no matter) when a rule is triggered.

In particular, when a zip file is droped in a space, it should be unzipped and have some some text files modified before being zipped again. I've written a simple bash script doing that, but I have no clue how to integrate that on Alfresco (Labs 3 stable).

I've seen a 'select a script' option when creating a rule, but every script there is a javascript one.

Is such operation possible? Any ideas or directions are welcomed.

Thanks,
Ilias.

Outcomes