Multiple conditions in wise script
Hi All,
What is the correct way to setup the multiple conditions in IF statement using wise script.
Thanks.
What is the correct way to setup the multiple conditions in IF statement using wise script.
Thanks.
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
hashref
13 years ago
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
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
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.