Page 1 of 1

FTP - InternetConnect fails

Posted: Wed Sep 30, 2015 12:59 pm
by fneurieser
Hello there,
does anybody know how to capture this event within robotask?

regards
F.G.N.

Re: FTP - InternetConnect fails

Posted: Wed Sep 30, 2015 1:58 pm
by Oleg
This is not an event. This is error message.
You can catch this message by error handling task. Read more here please http://robotask.com/help/index.php?errorsprocessing.htm
If an error was raised in any step when you perform the task, RoboTask starts up the handler-task and stops the main task. At the start of the error handler RoboTask passes the next parameters:
  • LastErrorTaskID – the internal ID of the task, in which an error was raised. It is a formal identifier of the task like a number.
  • LastErrorTaskName - the name of the task, in which an error was raised.
  • LastErrorTaskExternalName – an External Name of the task, in which an error was raised.
  • LastErrorStep – the number of the step (starting from 1), in which an error was raised.
  • LastErrorCode – code of the error. There is the own kit of codes of errors for any type of actions (see description of actions). By default – 0.
  • LastErrorDescription – the description of the error. It depends on a type of action. By default, it is the line "General error".
You can these parameters as variables:
Errorvar.png
Errorvar.png (29.11 KiB) Viewed 12440 times