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.


GrahamG
2009-08-18T10:26:50Z

Is it possible to force a task to exit the job after successfully completing ?

I know it can do it if there is an error.


The scenario I have is.

1) Task 1 (SQL Task)
2) Task 2 (SQL Task)
3) Task 3 (Email Task) - Run if a condition is True.
4) Task 4 etc....

What I need to do is have the job exit on Task 3.

I guess what I am asking for is the "On Error" to also handle a Success condition ? Is there any reason a "Success" result could be added to the "On ERror" tab ?


Thanks

Graham
Sponsor
Forum information
Support
2009-08-18T15:53:57Z
I think it would be wrong to add "On success" in "On error" tab. I think you should use a Condition on Task 4 instead.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
GrahamG
2009-08-18T16:17:29Z

Henrik,

Apologies, I have described this problem incorrectly.

What I want to do is carry out a specific action on Task 3 regardless of exit status, in this case exit the job. It could however equally be to go to another task.

Adding a next action to tasks would provide considerable additional benefits.

It becomes more relevant when viewing the task flow through the flowchart as it always appear to be going to the next task.










Support
2009-08-19T09:10:04Z
Just so I understand the need for this, why do you not design the Job with another flow of Tasks if you want to do something special independant on exit code of Task 3?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top