Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Thomas Baetens
2018-05-14T09:05:03Z
Hi all,

I have a vcron task to emails users when there is a new file in a specific folder.
Now I would like to attach the latest created file in that folder as an attachment.

Can someone put me in the right direction?
Sponsor
Forum information
Support
2018-05-14T14:45:52Z
Please look at the File Trigger tutorial: https://www.visualcron.com/tutorials.aspx 


The trick is to use the Variables from the File Trigger into the source folder and file mask fields (in upcoming Tasks);

Source folder: {TRIGGER(Active|LastTrigger|File.Result.TriggerFolder)}
Include file mask: {TRIGGER(Active|LastTrigger|File.Result.Name)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top