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):

IF-issue.jpg~original


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.
 
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
 

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