workflow_script icon indicating copy to clipboard operation
workflow_script copied to clipboard

[Feature Request] I am missing "If Directory Created" - postDirectoryCreated

Open bastiane273 opened this issue 1 year ago • 4 comments

Steps to reproduce

It is a Feature Request

I would like to have an trigger for the User creates under a specific directory (e.g. customers) an new directory (customera) that some customer template files are copied.

To archive this - it would be enough to create a trigger like "directory created".

Then I could write a script for copying all the template files for e.g. a new customer or many many other work flows.

Thanks for this wonderful tool - It helped me a much.

Greetings

Bastian Epting

bastiane273 avatar Jul 19 '24 11:07 bastiane273

The should be Create file.

blizzz avatar Jul 19 '24 16:07 blizzz

for sure - but I don't want to create a file. I wan't to create a directory and then my script should copy some template files. I did realize the feature Create file.

bastiane273 avatar Jul 22 '24 07:07 bastiane273

Ok, maybe this is misleading, technically everything is a file. Add a restriction based on the mime type, directory should be in the drop down i think.

blizzz avatar Jul 22 '24 08:07 blizzz

Hello, same request here. I confirm that when a directory is created, there is no event. In my case i need to copy files to another location. I created the following workaround : if the copy fails i check if the folder exists in the destination, if not i create it. Sorry for bastiane273, this workaround won't help you.

alnitac avatar Mar 07 '25 17:03 alnitac