Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Enterprise Software
Mainframe Software
Symantec Enterprise
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
Members
Automic Continuous Delivery Automation
Private Community
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
PreCondition Usage
Jump to
Best Answer
VivekSharma609055
Mar 19, 2018 11:10 PM
Hello, I want to add multiple precondition to a action. Is it possible to pass multiple values in Value2 ...
VivekSharma609055
Mar 21, 2018 06:23 AM
Antoine_Sauteron can you please help on this.
Legacy User
Mar 21, 2018 06:33 AM
Hi VivekSharma609055 I'm not sure I understand your need. Maybe :SWITCH ... :CASE ... :OTHER ...
VivekSharma609055
Mar 21, 2018 06:38 AM
Hi Antoine_Sauteron In normal scripting language we use IF $Value1 = Value2 & $Value2= Value2 ...
Legacy User
Mar 21, 2018 07:14 AM
Hi Vivek, Thanks for the clarification. When using :IF, you can use an "OR" keyword, but not an "AND". ...
VivekSharma609055
Mar 21, 2018 07:31 AM
Hi Antoine, You mean that multiple IF is used in Preconditon it will be OR and not "AND" IF Condtion1 ...
Legacy User
Mar 21, 2018 08:39 AM
HI Vivek, What I mean is you can use a :IF &VALUE1# OR &VALUE2# condition, but not :IF ...
Anon Anon
Mar 21, 2018 04:26 PM
Best Answer
Hi with a little Scripting Trick you can build an AND clause yourself with only one IF: cheers, ...
VivekSharma609055
Mar 22, 2018 06:14 AM
Thank you it solved my problem.
Anon Anon
Mar 22, 2018 07:37 AM
You 're welcome :-)
1.
PreCondition Usage
0
Recommend
VivekSharma609055
Posted Mar 19, 2018 11:10 PM
Reply
Reply Privately
Options Dropdown
Hello,
I want to add multiple precondition to a action. Is it possible to pass multiple values in Value2 section such as
If Value1 = Value2,Value3,Value4
or do I need to create multiple If condition in this.
2.
PreCondition Usage
0
Recommend
VivekSharma609055
Posted Mar 21, 2018 06:23 AM
Reply
Reply Privately
Options Dropdown
Antoine_Sauteron
can you please help on this.
3.
PreCondition Usage
0
Recommend
Legacy User
Posted Mar 21, 2018 06:33 AM
Reply
Reply Privately
Options Dropdown
Hi
VivekSharma609055
I'm not sure I understand your need.
Maybe
:SWITCH ... :CASE ... :OTHER ... :ENDSWITCH
is what you are looking for ?
Best regards,
Antoine
4.
PreCondition Usage
0
Recommend
VivekSharma609055
Posted Mar 21, 2018 06:38 AM
Reply
Reply Privately
Options Dropdown
Hi
Antoine_Sauteron
In normal scripting language we use IF $Value1 = Value2 & $Value2= Value2
But in the ARA under precondition we have to use multiple IF to achieve it. Is there any way to achieve similar thing in single IF and not create multiple IF.
5.
PreCondition Usage
0
Recommend
Legacy User
Posted Mar 21, 2018 07:14 AM
Reply
Reply Privately
Options Dropdown
Hi Vivek,
Thanks for the clarification.
When using :IF, you can use an "OR" keyword, but not an "AND". An additional IF has to be created.
Best regards,
Antoine
6.
PreCondition Usage
0
Recommend
VivekSharma609055
Posted Mar 21, 2018 07:31 AM
Reply
Reply Privately
Options Dropdown
Hi Antoine,
You mean that multiple IF is used in Preconditon it will be OR and not "AND"
IF Condtion1
OR
IF Condtion2
and not
IF Conditon1
AND
IF Condition2
Best Regards,
Vivek Sharma
7.
PreCondition Usage
0
Recommend
Legacy User
Posted Mar 21, 2018 08:39 AM
Reply
Reply Privately
Options Dropdown
HI Vivek,
What I mean is you can use a
:IF &VALUE1# OR &VALUE2#
condition, but not
:IF &VALUE1# AND &VALUE2#.
Should you want to have an AND condition, then you will need to use a nested IF.
Best regards,
Antoine
8.
PreCondition Usage
Best Answer
0
Recommend
Anon Anon
Posted Mar 21, 2018 04:26 PM
Reply
Reply Privately
Options Dropdown
Hi
with a little Scripting Trick you can build an AND clause yourself with only one IF:
cheers, Wolfgang
9.
PreCondition Usage
0
Recommend
VivekSharma609055
Posted Mar 22, 2018 06:14 AM
Reply
Reply Privately
Options Dropdown
Thank you it solved my problem.
10.
PreCondition Usage
0
Recommend
Anon Anon
Posted Mar 22, 2018 07:37 AM
Reply
Reply Privately
Options Dropdown
You 're welcome :-)
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2019. All rights reserved.
Powered by Higher Logic