Compare an execution result

  • Автор темы Автор темы yosheryosh
  • Дата начала Дата начала

yosheryosh

Client
Регистрация
28.10.2011
Сообщения
44
Реакции
0
Баллы
0
I have an execution result let's say "{-FieldData.FieldData-|-●2●4●2●2●3●5●-|-≡1≡9≡0≡8≡0≡1≡0≡9≡6≡1≡-}" which produces the text "hello world"....

Now below that I have an if statment which has in the JS code

var x ="{-FieldData.FieldData-|-●2●4●2●2●3●5●-|-≡1≡9≡0≡8≡0≡1≡0≡9≡6≡1≡-}"; x == "hello world";

This should return true, but the var x never holds the string.... do I have to do something to prep the variable first??? (I always get

var x = ""; x == "hello world";

Thanks.
 
Why don't you just put in logic branch '{-FieldData.FieldData-|-●2●4●2●2●3●5●-|-≡1≡9≡0≡8≡0≡1≡0≡9≡6≡1≡-}'=='{-FieldData.FieldData-|-●4●4●7●4●3●9●846-|-≡1≡6≡5≡8≡1≡1≡0≡3≡1≡3≡-}' if both of them are returning 'hello world'? If not, do unsuccessful branch exit to something else.

Plus you have two different branch results in here. If you want to use the JS shouldn't you have:

var x ="{-FieldData.FieldData-|-●2●4●2●2●3●5●-|-≡1≡9≡0≡8≡0≡1≡0≡9≡6≡1≡-}"; x == "hello world";
 
  • Оценить
Реакции: yosheryosh
I figured it out, you have to change the ID of the branch property to something unique (it can't be the default set of numbers in there).

Never thought of your first statement, that would be possible also.

Second sentence I made a typo, corrected it now.
 

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