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.


Luke Saunders
2016-01-12T19:31:34Z
I am having trouble getting a task flow to work even though it seems fairly simple... I must be missing something.

Task 1 - List files on a network share - file name only
Task 2 - List files in a local temp folder - file name only

Task 2 has 3 task flows..
-on success compare output to prev task output, equal -> Stop Job
-on success compare output to prev task output, not equal -> continue to next task
- on error stop job.

The job will always stop after task 2, even if there are no files in the local temp folder.
Switching the order of the flows doesn't make any difference.

See screenshot.. help?

task-flow.png
Sponsor
Forum information
thomas
2016-01-13T11:57:02Z
Try replacing {TASK(PrevTask,StdOut)} with the specific task id. {TASK(PrevTask,StdOut)} doesn't seem to work as expected in this scenario. I don't know if it is abug, or if it supposed to work that way. Make sure you add sorting to your listFiles!

Thomas
Luke Saunders
2016-01-13T16:08:02Z
Thank you! You are correct good sir! Now that I think about this.. flow comparisons run AFTER the task has been completed so {TASK(PrevTask,StdOut)} is actually the current task. So in flows you always need to use the direct ID.
Scroll to Top