Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I could see even having chain jobs is not showing any task dependencies, so this is something different.
Any idea.
"Task Dependencies" serve a slightly different purpose than chained tasks.
A task chain lets Task 2 automatically start when Task 1 finishes with either status = success or status = failure
A Task Dependency (for example Task 3) will let the same Task 2 run only if the last run of Task 3 (whenever it occurred) was either succesfull or faulty. Task 3 will NOT trigger Task 2 but will block Task 2 from running if the last execution result of Task 3 was not the exepected one.
Task Dependencies will in the end override any other triggers. They have a pretty final say here.
Luck,
Peter.
Any help on this please?
Are your tasks depend on other tasks? On success of task 1 perform task 2.
My guess is that is what the dependency should show.
thanks,
Rajesh Vaswani
Yes there is a one after another. But I have checked it, it's no longer related to that.
so this is something different.
Regards,
Karthi
Can anyone help on this ?
"Task Dependencies" serve a slightly different purpose than chained tasks.
A task chain lets Task 2 automatically start when Task 1 finishes with either status = success or status = failure
A Task Dependency (for example Task 3) will let the same Task 2 run only if the last run of Task 3 (whenever it occurred) was either succesfull or faulty. Task 3 will NOT trigger Task 2 but will block Task 2 from running if the last execution result of Task 3 was not the exepected one.
Task Dependencies will in the end override any other triggers. They have a pretty final say here.
Luck,
Peter.
Hi Peter,
Thanks for the response. will try and let you know.
Regards,
Karthi
I would like to add some complementary information even if Peter has already answered the original question.
I will use the same task names as Peter did.
If Task 3 (the dependency task) is executed successfully, all the subsequent executions of Task 2 will occur until the next execution of Task3.
If Task 3 is unsuccessful, all the subsequent executions of Task 2 will fail until the next execution of Task 3. The log message in the console (or email) will have the following:
Warning Dependency check failed due to current errors in execution of task "Task 3".
Error The task "Task 2" failed.
Note: I didn’t test what happens at the end of the day. Is everything reset or not? I did not find documentation for this.
Example:
Task 3 ok
Task 2 ok
Task 2 ok
Task 3 Fails
Task 2 Fails (the script is not executed)
Task 2 Fails (the script is not executed)
Task 2 Fails (the script is not executed)
Task 3 ok
Task 2 ok
Task 2 ok
Etc.