cancel
Showing results for 
Search instead for 
Did you mean: 

Script action on rule

maxdykhno
Champ in-the-making
Champ in-the-making
Hi all!

I'm trying add script on uploading or creating file in folder using rule. I plan to upload many files to folder. For now script is triggered for each uploading file even when I try to upload e.g. 5 files at once. Question: Is there any way to catch the moment when the last uploading file enters in folder? I add rule via java api.

Thanks in advance.
1 REPLY 1

kamielvdz
Champ in-the-making
Champ in-the-making
Out of the box it is not possible as far as I know. There is a frontend action onFileUploadComplete in documentlibrary/actions.js, this only posts some activities currently, but you could use it to extend it and trigger a backend webscript that executes an action or rule.