/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hi All,

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

Thanks.
0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity

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