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
Content types
Announcements
Blogs
Communities
Discussions
Events
Glossary
Site Content
Libraries
Date range
on this day
between these dates
Posted by
Home
Communities
All Communities
Enterprise Software
Ethernet Switches
Mainframe Software
Symantec Enterprise
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
Water Cooler
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
Automic Continuous Delivery Automation
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
03-19-2018 11:10 PM
Hello, I want to add multiple precondition to a action. Is it possible to pass multiple values in ...
VivekSharma609055
03-21-2018 06:23 AM
Antoine_Sauteron can you please help on this.
Antoine_Sauteron_1266
03-21-2018 06:33 AM
Hi VivekSharma609055 I'm not sure I understand your need. Maybe :SWITCH ... :CASE ... :OTHE...
VivekSharma609055
03-21-2018 06:38 AM
Hi Antoine_Sauteron In normal scripting language we use IF $Value1 = Value2 & $Value2= Val...
Antoine_Sauteron_1266
03-21-2018 07:14 AM
Hi Vivek, Thanks for the clarification. When using :IF, you can use an "OR" keyword, but not an "...
VivekSharma609055
03-21-2018 07:31 AM
Hi Antoine, You mean that multiple IF is used in Preconditon it will be OR and not "AND" IF Cond...
Antoine_Sauteron_1266
03-21-2018 08:39 AM
HI Vivek, What I mean is you can use a :IF &VALUE1# OR &VALUE2# condition, but not ...
Anon Anon
03-21-2018 04:26 PM
Best Answer
Hi with a little Scripting Trick you can build an AND clause yourself with only one IF: che...
VivekSharma609055
03-22-2018 06:14 AM
Thank you it solved my problem.
Anon Anon
03-22-2018 07:37 AM
You 're welcome :-)
1.
PreCondition Usage
0
Recommend
VivekSharma609055
Posted 03-19-2018 11:10 PM
Reply
Reply Privately
Options Dropdown
Mark As Inappropriate
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.
×
Reason for Moderation
Describe the reason this content should be moderated (required)
2.
PreCondition Usage
0
Recommend
VivekSharma609055
Posted 03-21-2018 06:23 AM
Reply
Reply Privately
Options Dropdown
Mark As Inappropriate
Antoine_Sauteron
can you please help on this.
×
Reason for Moderation
Describe the reason this content should be moderated (required)
3.
PreCondition Usage
0
Recommend
Antoine_Sauteron_1266
Posted 03-21-2018 06:33 AM
Reply
Reply Privately
Options Dropdown
Mark As Inappropriate
Hi
VivekSharma609055
I'm not sure I understand your need.
Maybe
:SWITCH ... :CASE ... :OTHER ... :ENDSWITCH
is what you are looking for ?
Best regards,
Antoine
×
Reason for Moderation
Describe the reason this content should be moderated (required)
4.
PreCondition Usage
0
Recommend
VivekSharma609055
Posted 03-21-2018 06:38 AM
Reply
Reply Privately
Options Dropdown
Mark As Inappropriate
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.
×
Reason for Moderation
Describe the reason this content should be moderated (required)
5.
PreCondition Usage
0
Recommend
Antoine_Sauteron_1266
Posted 03-21-2018 07:14 AM
Reply
Reply Privately
Options Dropdown
Mark As Inappropriate
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
×
Reason for Moderation
Describe the reason this content should be moderated (required)
6.
PreCondition Usage
0
Recommend
VivekSharma609055
Posted 03-21-2018 07:31 AM
Reply
Reply Privately
Options Dropdown
Mark As Inappropriate
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
×
Reason for Moderation
Describe the reason this content should be moderated (required)
7.
PreCondition Usage
0
Recommend
Antoine_Sauteron_1266
Posted 03-21-2018 08:39 AM
Reply
Reply Privately
Options Dropdown
Mark As Inappropriate
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
×
Reason for Moderation
Describe the reason this content should be moderated (required)
8.
PreCondition Usage
Best Answer
0
Recommend
Anon Anon
Posted 03-21-2018 04:26 PM
Reply
Reply Privately
Options Dropdown
Mark As Inappropriate
Hi
with a little Scripting Trick you can build an AND clause yourself with only one IF:
cheers, Wolfgang
×
Reason for Moderation
Describe the reason this content should be moderated (required)
9.
PreCondition Usage
0
Recommend
VivekSharma609055
Posted 03-22-2018 06:14 AM
Reply
Reply Privately
Options Dropdown
Mark As Inappropriate
Thank you it solved my problem.
×
Reason for Moderation
Describe the reason this content should be moderated (required)
10.
PreCondition Usage
0
Recommend
Anon Anon
Posted 03-22-2018 07:37 AM
Reply
Reply Privately
Options Dropdown
Mark As Inappropriate
You 're welcome :-)
×
Reason for Moderation
Describe the reason this content should be moderated (required)
×
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