Community forum

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


VKG_2017
2017-11-09T05:51:30Z
Hi Visual Cron team,

I am using listFile task in my job with some file filter.
Next task i am using SendMail.
After that there are many other tasks.

But my requirement is that SendMail task only send email if ListFile task has some filenames as task output. I tried using conditonset in Emal task but it is not working and Email is delivering even there is no file in ListFile task.'

This is something urgent for one of my production release.

Could you please assist on above ?

Thanks in advance.

Regards
Vikas
Sponsor
Forum information
Support
2017-11-09T10:13:47Z
What kind of file names? Wouldn't it be better to have those in the file mask so Task only succeeds of those names are there?

You also have the output Variable {TASK(Active|StdOut)} which contains all the files. Theoretically you could use the RegEx Variable on this to check for certain values. It requiers some knowledge in regulare expressions though. This check can be performed in the Flow of the Task.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
VKG_2017
2017-11-14T10:15:11Z
By using Output Variable in Condition i am able to control Email notification. It worked.
Thanks a lot for your response & support.

Scroll to Top