cancel
Showing results for 
Search instead for 
Did you mean: 

Automated process triggered on user action into a share site

pmunch
Champ in-the-making
Champ in-the-making
Hi all,

I'm new to Alfresco and need some help to achieve an automated process triggered on user action into a share site.

In details :
- Users are contributors to an Alfresco share specific site
- Document Library of this site has a directory called "Archives" into which site users are expected to upload tar.gz archive files
- When a user uploads a tar.gz file in "Archives", I need alfresco to automatically copy the tar.gz file into a parallel "Uncompressed" directory, then extract it (overwriting existing folder if any), and finally remove the copied tar.gz from this destination directory (keeping the original uploaded tar.gz in the "Archives" directory)

I think of creating a js script that could be used in a rule, just like those provided in "Data dictionnary/scripts" :
- can these rules/scripts actually be triggered by an event occuring into a share site ?
- I didn't find any documentation about performing an archive extraction through th javascript API : can this be done somehow ?

If someone knows of a similar script already been developped, this could be a tremendous help.

Thanx for your help Smiley Wink
1 REPLY 1

pmunch
Champ in-the-making
Champ in-the-making
Anyone ?