View previous topic :: View next topic |
Author |
Message |
Darrie
Joined: 03 Nov 2009 Posts: 6
|
Posted: Mon Nov 09, 2009 5:51 am Post subject: New to variables |
|
|
I am using version 8.29. I would like to have an email sent to me when a task times out, but I don't want to set a profile for each task. I set the email notification on the profile to all tasks, but now I don't know which task timed out. I think I can usr a variable but I an not sure how to use them. Can someone help? |
|
Back to top |
|
 |
melvin Site Admin
Joined: 25 May 2006 Posts: 635 Location: Santa Barbara, california
|
Posted: Mon Nov 09, 2009 7:58 pm Post subject: |
|
|
In the email notification, there are 3 variables supported in addition to other task variables:
Task_Title, Task_Type and Exit_Code
So if you write in the body:
The task Task_Title timed out with exit code = Exit_Code
the email body will be:
The task test failed with exit code = 1
However, in general for most other task fields the format of the variables are: $%TaskTitle::Filenames%$ |
|
Back to top |
|
 |
Darrie
Joined: 03 Nov 2009 Posts: 6
|
Posted: Tue Nov 10, 2009 6:15 am Post subject: Thanks |
|
|
That is great information. I was trying to put the variable in the Subject. It works. Thanks again! |
|
Back to top |
|
 |
|