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


Eddie Kumar
2018-01-08T15:04:49Z
Hi,

Is there any way to refer / point to the first or the last Task (in a Job) relatively (rather than using absolute reference by TaskId GUID)? For example we can write (Active,id) OR (PrevTask,Id) etc. which works fine, but when I attempt to use FirstTask or LastTask, I get error [Task does not exist or is not selected.]

Is there a work around?

Thanks for the help in advance.

Ta.
Sponsor
Forum information
thomas
2018-01-08T16:34:56Z
No, not that I know of. You could assign the values from those task into variables, and refer to these variables later . It's not perfect, but it makes the code more readable at least.
al355
2018-01-09T08:32:19Z
I think this would be a good enhancement (the ability to reference the first or last task explicitly)
ErikC
2018-01-09T08:34:00Z
Hi,

in a job you can use the taskorder number instead of the full id.

{TASK(1|StdOut)}

You have to be carefull though when you are moving your task order.

Regards,
Erik
Uses Visualcron since 2006.
Eddie Kumar
2018-01-09T15:20:55Z
Thank you all for answers.

As "al355" has said that it could be a good enhancement, for now, I will use the TaskOrder number (thanks to ErikC for this suggestion.)

Awaiting for this enhancement.

thanks
Scroll to Top