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


mholthouse
2013-09-20T11:30:30Z
Prior to version 7.0, I had Error notifications setup to send me the task name and output. With the new notification structure, it will no longer send the output because it trys to send the output of the "notification". Is there another way to do this? How is everyone else handling error notification.
Sponsor
Forum information
Support
2013-09-23T05:09:25Z
In the Notification, please use PrevTask instead of Active reference.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
mholthouse
2013-09-26T11:56:33Z
When I used that, it says [Task does not exist or is not selected.]. Ideas?
Support
2013-10-03T07:15:58Z
Do you really get that in runtime? I mean, there is a risk you get that in design time but not runtime.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
mholthouse
2013-10-03T23:34:46Z
Very strange, I think I just figured it out on accident.

Job: {JOB(Active|Name)}

Task: {TASK(PrevTask,Name)}

Result: {TASK(PrevTask,Result)}

Exit Code: {JOB(PrevTask|ExitCode)}

Output: {TASK(PrevTask,StdOut)}

Error Output: {TASK(PrevTask,StdErr)}

Here is the outout.

Job: Job Name Is Correct

Task: Task Name is Correct

Result: Failed

Exit Code: [Job does not exist or is not selected]

Output: [Task does not exist or is not selected.]

Error Output: [Task does not exist or is not selected.]

When I change it to the following, it is correct...the output comes back correct:

Job: {JOB(Active|Name)}

Task: {TASK(PrevTask,Name)}

Result: {TASK(PrevTask,Result)}

Exit Code: {TASK(PrevTask|ExitCode)}

Output: {TASK(PrevTask,StdOut)}

Error Output: {TASK(PrevTask,StdErr)}
Support
2013-10-04T12:22:52Z
Yes, you cannot use PrevTask on JOB - it can only be used on TASK. If you want ExitCode from JOB you need to use Active:

{JOB(Active|ExitCode)}
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top