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


Melnyk, Steve
2021-06-03T18:55:23Z
I have a simple SQL task that returns a date time stamp. I'm trying to use it to filter the next task, an S3 download task.
image.png

The {TASK(PrevTask|StdOut)} value does not work. However, if I change this to the direct task id of the SQL task:

{TASK(7527153c-2352-4be7-b09a-0469b95574fc|StdOut)}

Then the filter works properly.

Regards,

Stephen
Sponsor
Forum information
Support
2021-06-15T14:36:23Z
Originally Posted by: Melnyk, Steve 

I have a simple SQL task that returns a date time stamp. I'm trying to use it to filter the next task, an S3 download task.
image.png

The {TASK(PrevTask|StdOut)} value does not work. However, if I change this to the direct task id of the SQL task:

{TASK(7527153c-2352-4be7-b09a-0469b95574fc|StdOut)}

Then the filter works properly.

Regards,

Stephen



Have you tried running the job/task with the PrevTask variable? Does that work or still won't return the output?
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Melnyk, Steve
2021-06-29T21:09:51Z
Correct, the PrevTask variable does not work. Only the direct task id works.

PrevTask|StdOut returns a blank string. Direct Task ID|StdOut correctly returns the date time string.
Support
2021-07-08T13:32:16Z
Originally Posted by: Melnyk, Steve 

Correct, the PrevTask variable does not work. Only the direct task id works.

PrevTask|StdOut returns a blank string. Direct Task ID|StdOut correctly returns the date time string.



Hi,

Apologies for the late response. Can you provide us with the exact string/output value the prevtask returns? Preferrably send an email to support@visualcron.com with it
Michael
Support
http://www.visualcron.com 

Please like  VisualCron on facebook!
Scroll to Top