A way to automatically retry last failed action?

KitKat21

Client
Регистрация
02.05.2017
Сообщения
268
Реакции
192
Баллы
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!
 
It's not possible to retry... only identify... see the file executionLog.txt in ZennoPoster\Prog\Logs folder in program files directory.
 
  • Спасибо
Реакции: KitKat21
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
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
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.
 
BTW, how can I get the ID of an action which fails?
 

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