Page 1 of 1

Cancel Task?

Posted: Wed Sep 08, 2004 12:56 am
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

Cancel Task?

Posted: Wed Sep 08, 2004 2:07 am
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.

Cancel Task?

Posted: Wed Sep 08, 2004 2:11 am
by arrowmed
Thank you!