Cancel Task?

Discuss RoboTask here
Post Reply
arrowmed
Posts: 8
Joined: Sat Aug 28, 2004 8:48 am

Cancel Task?

Post by arrowmed »

Hi,
Modified the "find latest/newest file" task so that it sends an email when a file is detected.
There are several times when I DO NOT want an email sent, but when the folder select window comes up and I click on cancel, the task is not being cancelled and an email is being sent with a "bogus" file listing from the temp directory.
How do I cancel a task when it starts?
Thanks in advance.
Jim
Oleg
Site Admin
Posts: 3014
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Cancel Task?

Post by Oleg »

Try to use "Question dialog" coupled with "If then" action. In question dialog you ask user: "Do you want to send email?". And if he clicked Yes, task send a message.
Question dialog have autochoice (with timeout), therefore you don't need press any button necessarily.
arrowmed
Posts: 8
Joined: Sat Aug 28, 2004 8:48 am

Cancel Task?

Post by arrowmed »

Thank you!
Post Reply