For every Bad exit in the project --> Do this...

convict29

Пользователь
Регистрация
10.07.2014
Сообщения
114
Благодарностей
3
Баллы
18
The problem :
The project has 50 actions, i cant stay and take the bad (red) exits of 50 actions and point them 1 by 1 to the new action set for bad exits?
I tried the bad end (red big button) but will work just once :/ it wont get to bad end twice.
Is there any way to do it fast and easy? Perhaps a custom code which i have no idea of coding?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
I'm not sure what you trying to achieve
 

convict29

Пользователь
Регистрация
10.07.2014
Сообщения
114
Благодарностей
3
Баллы
18
Take a look to the red exits, now imagine i have 20 projects with 100 actions each. Ill have to draw 2000 lines... OR put an action or code that will do this.
1-The-bad-way.png

Can i do this?>
2The-way-i-want.png
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Bad end is suited for this.
But it's not for infinite loops
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
What are you even trying to do?
If you place the optional Write To File -when fail under the "No more lines" alerts instead, it will go off only when you're out of lines. Is that what you're looking for?
 

convict29

Пользователь
Регистрация
10.07.2014
Сообщения
114
Благодарностей
3
Баллы
18
Imagine this scenario:
you have a table with a list of 20 sites that you want to add a post. Now some of this sites, lets say site 5 is down, site 6 was wrong password, site 10 was wrong user name and site 19 whatever error.

For the sites that worked, will be written a report to a file "Good-report.xlsx"
How can you know what sites didn't worked? The only way i can think of, is to compare the files manually (the one with the 20 urls with the Good-report.xlsx). Or make for every bad exit of every action to write to file "Bad-report.xlsx" (but this will take months to do it for every project and every action).

So the "Bad end" is the best way to achieve this, but it work only for a single loop :(
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Do you really plan to create 1 project to cover 20 different sites?
 

convict29

Пользователь
Регистрация
10.07.2014
Сообщения
114
Благодарностей
3
Баллы
18
Same sites man. All wordpress for example but different urls.
site1.wordpress.com
site2.wordpress.com
 

Tobbe

Client
Регистрация
01.08.2013
Сообщения
428
Благодарностей
148
Баллы
43
If they're all using the same platform it's pretty easy. Use a logic to check if you're logged in or not, and if the post went live or not by some unique text/dom/url or whatever.
If any of it fails, have the bad end of the logic to point you to an action that writes it down, along with taking a new line from the list.
You're over thinking this.
 

convict29

Пользователь
Регистрация
10.07.2014
Сообщения
114
Благодарностей
3
Баллы
18
I think your right, i do over thinking this. The hell with it i go see Ghosts Busters 2:dw:
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
oh nice old movie :-)
i need to rewatch it again )
 

drvosjeca

Client
Регистрация
26.10.2011
Сообщения
512
Благодарностей
455
Баллы
63
like already said you are overthinking... and also like rostonix said Bad End is not for infinite loops, it works only once per run.
 

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