Search found 6 matches
- Thu Feb 07, 2013 8:51 pm
- Forum: General Discussion
- Topic: Return value for Start Task
- Replies: 3
- Views: 11929
Return value for Start Task
Hey I also found a need where it would be nice to have a function that would get a TaskID of a task by its name or from dropdown selection.
- Thu Feb 07, 2013 8:22 pm
- Forum: General Discussion
- Topic: Return value for Start Task
- Replies: 3
- Views: 11929
Return value for Start Task
Another question. Does every task that start get its own thread. In other words, if two tasks do a Start Task on the same task, will they each get their copy and not crash together in case the local variables were to have differing values?Thanks.
- Thu Feb 07, 2013 8:16 pm
- Forum: General Discussion
- Topic: Return value for Start Task
- Replies: 3
- Views: 11929
Return value for Start Task
What is a good way to return a value from another task started with Start Task?The only way I could see is creating a global variable that I check in the calling task but isn't there a more elegant way?How about like the Run Program dialog and have a decision of what to do if the return value is not...
- Thu Feb 07, 2013 12:37 pm
- Forum: General Discussion
- Topic: Raise an error manually
- Replies: 3
- Views: 12209
Raise an error manually
Ok. I did do something kind of like that but used different variables. I didn't know if the LastError... variables were writable.Thanks for tip, Oleg.
- Wed Feb 06, 2013 6:58 pm
- Forum: General Discussion
- Topic: Raise an error manually
- Replies: 3
- Views: 12209
Raise an error manually
If there are certain conditions in my task, I would like to manually raise an actual error that would stop the script or run a error handler and pass the error variables to it.It would be nice if I wrote an ERROR type message to the log with Log Message that an error would be raised and the task pro...
- Wed Jan 23, 2013 5:42 pm
- Forum: General Discussion
- Topic: Get log file name for task
- Replies: 4
- Views: 18593
Get log file name for task
Believe it or not I just used this today. However, I see there has to be a decimal to hex conversion of the {TaskID} which can be a challenge in RT as I see it. It would be nice to have this hex value of the {TaskID} already in a variable for direct use of reading the log file.-David W.