I’m using the new file uploader for a single file upload. As soon as someone drops in an image, I have a workflow triggering to upload the file to Cloudflare (on change workflow).
This works fine… The problem is, I have another workflow that triggers ‘when delete is clicked’. However, when delete is clicked, this is also an ‘on change’ event, which means the upload workflow gets triggered too. I’m not sure how to prevent the other one from firing as there is no ‘when file is dropped’ action…
You could simply check in your On file dropped / change
workflow if there is a file present, or any files present with a Pass through condition
or a True/False Split
workflow action and act accordingly.
1 Like
That worked, thanks!
Another interesting thing, which I’d almost consider a bug.. If you have the file limit set to 1, and you drag a second image to replace the one already uploaded, the ‘delete’ workflow won’t get fired.