I have the following situation.
VisualCron 7.1.3
OS: Server 2012 R2
1 Job, 2 tasks.
Job has no conditions. There are 2 Tasks:
Task1: List files task for a local path, which expects to find something created within the last 10 minutes by another process. This should ALWAYS be there as the file gets updated every 2 minutes as a heartbeat(to ensure something else is working). No file(s) found is to be considered an error. (proving something isn't able to write a file).
Task1 Conditions: File NOT Exist condition for filename 'DISABLE_TASK1.TXT'. If it exists there is a problem (see FLOW rules below)
FLOW rules are as follows for Task1
1. On Success: Continue to next task in order
1. On Error: Continue to next task in order
2. On Error: run notification to send an e-mail
3. On Error: run notification to write/create a file called DISABLE_TASK1.txt, which is the one being used as a condition of the task noted above.
Based on the above, When the Job runs, Task1 starts and if it does NOT find a file that was modified in the last 10 minutes, it will Send an e-mail, write/create a DISABLE_TASK1.txt, and then run task2 as I still want task2 to ALWAYS run.
Task2 can be anything else. It doesn't matter, it'll never run if the condition is met for Task1. So if 'DISABLE_TASK1.txt' exists, neither task runs. I only want Task1 to not run, and it seems to be affecting all tasks after it regardless of my Flow rules.
Even if I uncheck the box on the Job itself for 'Run tasks in order', meaning I want both Task1 and Task2 to run at the same time, if the Condition is met (DISABLE_TASK1.txt) for Task1, neither task runs. It's as if the condition is technically being set at the job level, even though it only shows on the task level.
Any suggestions or did I find a bug?
Brian
Edited by moderator
2014-03-27T11:15:14Z
|
Reason: Not specified