Possible to combine two IF actions?

shabbysquire

Client
Регистрация
25.11.2012
Сообщения
544
Благодарностей
26
Баллы
28
I have two IF actions. Is it possible to check both at the same time? Sometimes I get one value, but then miss another (see pic):



For example:

1) IF No 1 checks feedback score;
2) IF No 2 checks total number of orders.

In above example, if No 1 has no value but No 2 does, then write to file. The same if you reverse it. If both have no values - then don't write to file.

Is this possible?

Thanks.
 

lokiys

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

Something like that.

C#:
if(project.Variable["feedback"].Value == "" && project.Variable["orderNr"].Value != "") return true;
if(project.Variable["feedback"].Value != "" && project.Variable["orderNr"].Value == "") return true;
And after that check if true then write to file and if false then not...

Source

Cheers
 

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