Hi All,

What is the correct way to setup the multiple conditions in IF statement using wise script.

Thanks.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Copy/Paste the below to the editor.

item: Set Variable
Variable=CONDITION
Value=A or B or C
end
item: Set Variable
Variable=CONDITION
Value=A
end
item: If/While Statement
Variable=CONDITION
Value=A
end
item: Display Message
Title=CONDITION
Text=%CONDITION%
end
item: ElseIf Statement
Variable=CONDITION
Value=B
end
item: Display Message
Title=CONDITION
Text=%CONDITION%
end
item: ElseIf Statement
Variable=CONDITION
Value=C
end
item: Display Message
Title=CONDITION
Text=%CONDITION%
end
item: End Block
end
Answered 12/21/2010 by: hashref
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity