[SOLVED] Logic Switch possible issue

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28
I`m doing a simple logical switch - randomize numbers (0-2) then going into logical switch.
The project declares it is finished successfully - not going past this actual stage (meaning not going to option 1,2 or 3).
This happens to me in Project maker and Zenno poster as well.

After connecting an alert to the default node of the logical switch - I can see that it goes strait to the default.

Is it a bug or am I doing something wrong...?
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
I'm not sure but today i'm tried to make working switch but something went wrong all the time. I had some text to found, when i debug my project i saw that my text was found bout when it went to switch then it showed default exit. I did not have more time for testing and i added simple two simple ''if'' instead of switch.
 
  • Спасибо
Реакции: Mankush

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Pleas add screenshot of action's settings on debug stage where real value of variable will be visible too.
 

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
Works fine.
Build 3.6.0.0
Please check attachment.
 

Вложения

  • 17,2 КБ Просмотры: 232

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28
Yep, I have tested the logical switch in a stand alone project (meaning only the logical switch and a simple alert is there).
But it still happens in my project. for now I have solved it just as lokiys advised...

*I`m using 4.3.6.0
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113
You can try to recreate action and check again :-)
 

Mankush

Client
Регистрация
31.10.2011
Сообщения
189
Благодарностей
17
Баллы
28
Well guys, I found the error. my bad.

When using the "random" component I have chosen "text" instead of "number". that was the error. my error.
So instead of getting numbers that ARE working with the logical switch, I got letters.
 

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