A way to automatically retry last failed action?

KitKat21

Client
Регистрация
02.05.2017
Сообщения
263
Благодарностей
191
Баллы
43
Hi everyone! :-)

I'm hoping someone can help me.

When using Zenno, sometimes because of my internet an action in the process fails.
It is a large project with many actions.

Is there a way to make Zenno retry the last action it failed on (regardless which action it is) without having to add a "Logic If" or code block to each action in the project? Like with some "bad end" code that makes it retry last action a certain amount of times (if hits bad end 1, retry last action 2x and then if it still fails go to bad end 2)?

Thanks!
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 455
Благодарностей
5 913
Баллы
113
It's not possible to retry... only identify... see the file executionLog.txt in ZennoPoster\Prog\Logs folder in program files directory.
 
  • Спасибо
Реакции: KitKat21

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
31
Баллы
28
You could try to take that into account in your template, for instance I have a script that scrap information from a website that regularly throws error 500 or timeout, so I check everytime if the page displays properly before going to the next step. An example is to look for a word on the page to be sure the page is fully loaded...
 
  • Спасибо
Реакции: KitKat21

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
31
Баллы
28
what about running most of the script in project in project, use a bad end to catch the error and when it comes back to the main project you use the error to call again the sub project with the error id as an argument and continue from the action id ?
 
  • Спасибо
Реакции: morpheus93 и KitKat21

KitKat21

Client
Регистрация
02.05.2017
Сообщения
263
Благодарностей
191
Баллы
43
what about running most of the script in project in project, use a bad end to catch the error and when it comes back to the main project you use the error to call again the sub project with the error id as an argument and continue from the action id ?
What a good idea! Thank you! I'll try that.
 

KitKat21

Client
Регистрация
02.05.2017
Сообщения
263
Благодарностей
191
Баллы
43
BTW, how can I get the ID of an action which fails?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113

Nord

Client
Регистрация
22.03.2012
Сообщения
2 406
Благодарностей
1 473
Баллы
113
  • Спасибо
Реакции: KitKat21 и lokiys

KitKat21

Client
Регистрация
02.05.2017
Сообщения
263
Благодарностей
191
Баллы
43

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)