PrevTask not set in Flow when editing task - VisualCron - Forum

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


wanderer
8 years ago
Hello VisualCron Support,

I encountered an issue in version 8.2.1 where the PrevTask does not seem to be set correctly when used for a condition under Flow. I am trying to make a task stop the job if the name of the previous task run is equal to a specific task name. However, even when the job clearly runs the specific task right before, the condition never passes and the job always continues to the next task. I have attached a screenshot of the relevant Edit Task window. Any help would be greatly appreciated.

2017-01-24 15_01_59-Edit Task - LogVisualCronError - 4_5.png

Thank you,

TJ
Sponsor
Forum information
Support
8 years ago
I think for debugging you should add a On success->Run Notification of type File Write Task. Then paste your values there, both PrevTask and the direct id. This way you can confirm what they actually contain. Based on this we can take next action.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
wanderer
8 years ago
Thank you very much for the response. I debugged with the Notification as you suggested and discovered that the PrevTask was actually being set to the current task being edited. This is probably because the task had finished by that point. I was able to find a workaround with this knowledge, so the issue is resolved.

Thank you again for the help!
Support
8 years ago
Great, thanks!
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top