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


tcbenkhard
2011-06-09T11:18:41Z
Hello,

New to VisualCron and trying to set up a task with different outputs. Cant really find any good tutorial on conditions and/or flow diagrams but here's what I want:

Weekly -> Get SQL result --success--> create file --success--> end job
                 |                              |                    
                 |                              |                     
                 --error--> send mail <--error--
                                 |
                                 |
                                 -----> end job


But the case now is that on the flow diagram if everything is successfull it will go from end job to send mail anyway (because its in that order on the task list).

How can I tell a task to STOP after successfull output (which will give me this multiple branch diagram).

Hope you can help me with this!
Sponsor
Forum information
Support
2011-06-09T11:26:04Z
There are at least two ways to accomplish this.

Either you use the On error to redirect to a second Job that send the error email. Or you add a Condition set attached to the Create file Task and tell it to exit Job if previous Task was a failure.

Let us know if you need help with any of the above.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
tcbenkhard
2011-06-09T11:49:28Z
This worked, thanks alot for the quick response! (I created a new job)
Scroll to Top