Himansu, it's the OR that fouled your Run If. IT should be an AND.
( 'Status' != "New" AND 'Case ID+' != "HD" ) OR ('Status' !=
$NULL$ AND 'Case ID+' != $NULL$)
True when:
Status is other than "New" and Case ID+ is other than "HD" OR
Status has a value and Case ID+ has a value
The only way this could be false would be if Status or CaseID+ were null.
( 'Status' != "New" AND 'Case ID+' != "HD" ) AND ('Status' !=
$NULL$ AND 'Case ID+' != $NULL$)
True when:
Status has a value, other than New and Case ID+ has a value, other than HD.
It looks like somebody may have gotten lost in null != logic and tried to
compensate, but misfired.
Mike White
Office: 813-978-2192
E-mail: [EMAIL PROTECTED]
"Kohli, Himanshu"
<[EMAIL PROTECTED] To: [email protected]
SOGETI.COM> cc:
Sent by: "Action Subject: Re: Two different
Condition 's in Run If
Request System
discussion
list(ARSList)"
<[EMAIL PROTECTED]
G>
09/14/2006 16:11
Please respond to
arslist
James
It so simple but making me really crazy about it ...
ok let me try to explain you briefly
I want to block a user action on a Button Click to open a new Window and to
include both the condition's in a single ACTL's Run If
1) On Query when he has no Case Id selected or searched (i.e. Case ID =
Null )
2) On Create when his Case ID has a default value ( Case ID = HD)
Now I am trying that
Run If ==> ('Case ID' != $NULL$) OR ('Case ID' != "HD")
If Action ==> Open the Window
Else If ==> Error Msg
Result : If I use only one of each condition in the Run If ..it works as
desired but fails when I try to use both with "OR"
I beleive its somthing to relate with the execution of an ACTL at two
different Operation's CREATE & QUERY on Help Desk form.
I am having
ARS 6.3 , Windows 2k with MS SQL 2K
I hope you will be able to pull me out of this ...
Thanks & Regards
Himanshu Kohli
Remedy Developer / Administrator
PS : It looks so simple but has made me sound like ....
________________________________
From: Action Request System discussion list(ARSList) on behalf of McKenzie,
James J C-E LCMC HQISEC/L3
Sent: Thu 9/14/2006 3:14 PM
To: [email protected]
Subject: Re: Two different Condition 's in Run If
**
Himanshu:
What EXACTLY are you trying to do? Your Run-if qualification is leading me
to ask the question.
Thank you for changing the Subject:
James McKenzie
L-3 GSI
________________________________
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Kohli, Himanshu
Sent: Thursday, September 14, 2006 12:06 PM
To: [email protected]
Subject: Re: Two different Condition 's in Run If
**
Eric
No even this is not working ...
Frederick
My ACTL executes on a Button on Help Desk form and runs for both CREATE &
QUERY operations but only Status field is a Required Field so idealy this
should not make my Run If condition fail..
Once again If I am using just one of the condition without using 'OR' all
works as desired...
plz help me to get out of this puzzel...
List : plz excuse me for not using a new subject in my initial post .....
that was a mistake :(
Thanks & Regards
Himanshu Kohli
Remedy Developer / Administrator
________________________________
From: Eric Roys [mailto:[EMAIL PROTECTED]
Sent: Thu 9/14/2006 11:21 AM
To: Kohli, Himanshu
Subject: RE: Mid-Tier 7.0 Installation Problem
Try:
(( 'Status' != "New") AND ('Case ID+' != "HD" )) OR (('Status'
!= $NULL$) AND ('Case ID+' != $NULL$))
The additional parenthesis are needed to distinguish one OR from the other.
Eric Roys
Sr. Software Engineer
Verizon Business
Email: [EMAIL PROTECTED]
CONFIDENTIALITY: The information contained in this message and any
attachment may be proprietary, confidential, and privileged or subject to
the work product doctrine and thus protected from disclosure. If the reader
of this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify me immediately by replying to this
message and deleting it and all copies and backups thereof. Thank you.
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Kohli, Himanshu
Sent: Thursday, September 14, 2006 10:15 AM
To: [email protected]
Subject: Re: Mid-Tier 7.0 Installation Problem
Hey List
I know its going to be very simple but now since I have tried all my
combination (i.e. using braces ) I would like to seek your help.
I want my ACTL to execute its 'Else Action' for the below mentioned 'Run If
' condition
( 'Status' != "New" AND 'Case ID+' != "HD" ) OR ('Status' !=
$NULL$ AND 'Case ID+' != $NULL$)
every things works as desired when I use just one of them but with an OR
when try to have both the condition in my Run If ... I fail
Note : I do not want to make use of any other parameter other than the
Status & 'Case ID
Thanks for your quick help
Himanshu Kohli
Remedy Developer / Administrator
__20060125_______________________This posting was submitted with HTML in
it___
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org