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.


GrahamG
2009-02-02T12:26:31Z
Updated - 3/2/09

Is there a generic method of getting parameters from the last task run, within the same job, i.e

Instead of using {TASK(e7d33f84-a261-4fd7-afbe-95b377d66ac0,StdOut)} where "e7....c0" is a specific task Id, is it possible to use {TASK(Last, StdOut)} or something similar, replacing "last" with appropriate word.

We have a number of jobs which are all doing similar things in checking data consistency, the output of each is directed to an email where the body is essentially the SQL output. It would be very handy to just be able to clone these as generic tasks.




Thanks


Graham
Sponsor
Forum information
Support
2009-02-03T14:29:07Z
There is no generic method of doing that - yet. We have had requests about adding a PrevTask. That is something we could do and we will add this to Feature requests forum.

One thing to add is that this Variable will only be available when the Job is running.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
GrahamG
2009-02-03T15:04:04Z

Excellent - would make things a lot simpler.

I look forward to seeing it.


Graham
GrahamG
2009-06-10T11:31:09Z
Hi Henrik,

Is this enhancement anywhere near the top of the list.

I have a lot of jobs where I email the result and I have to keep changing my email task within the job to specify a TaskId.

The {PrevTASK,StdOut} or {TASK(PrevTask,StdOut)} would be a huge benefit.


Thanks in advance


Graham
Support
2009-06-10T11:36:40Z
Yes, it is.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Support
2010-04-07T12:04:12Z
The PrevTask Variable has been added in this version. Please note that you have to replace the Task id with PrevTask.

http://www.visualcron.co....aspx?g=posts&t=1158 

Also, please give us feedback regarding an idea of future development.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top