No James Even the one ($OPERATION$ = "QUERY" AND 'Case ID+' = $NULL$ ) OR ($OPERATION$ = "CREATE" AND 'Case ID+' = "HD") you mentioned has failed to get my desired error msg which was defined in Else If tab as it goes into the If tab and opens up my Window. No everything is on the Help Desk form and we have 'HD' as a Prefix to our Case ID's so the default parameter for the two different scenario's become :- Create Screen / When a User will Press F2 ===> Operation = CREATE , Case ID+ = HD and Status = New Search Screen / When a User will Press F3 ===> Operation = QUERY , Case ID+ = Null and Status = Null now I just want both of these two conditions to be checked in a single ACTL .... even though I have managed to do the needful with two ACTL's with a different Logic but now this has become a Puzzle to be sorted out as well... So just give me a Run If condition which will make my Else tab in action and not If tab into Action..... Thanks for trying to help me Thanks & Regards Himanshu Kohli Remedy Developer / Administrator
________________________________ From: Action Request System discussion list(ARSList) on behalf of McKenzie, James J C-E LCMC HQISEC/L3 Sent: Thu 9/14/2006 4:31 PM To: [email protected] Subject: Re: Two different Condition 's in Run If ** I think this has been answered but here goes: You want to send an error message if the user has not selected a Case ID when running a query: ($OPERATION$ = "QUERY" AND $Case ID$ = $NULL$) will select no case id selected on a Query. Now, here is something interesting and I have to ask. Is the Case ID from another form? Thus you can do the following if this is so: ($OPERATION$ = "CREATE" AND $Case ID$ LIKE "%HD%") Will look to see if the Case ID field has the characters HD in them for a create operation. If you want to check if only the first two characters are HD then it would look like: ($OPERATION$ = "CREATE" AND $Case ID$ LIKE "HD%") Combine them with an OR if you want to check if both are true: ($OPERATION$ = "QUERY" AND $Case ID$ = $NULL$ ) OR ($OPERATION$ = "CREATE" AND $Case ID$ LIKE "%HD%") Set your error message in the Else tab and this should work. James McKenzie L-3 GSI -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Kohli, Himanshu Sent: Thursday, September 14, 2006 1:11 PM To: [email protected] Subject: Re: Two different Condition 's in Run If 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 <http://www.wwrug.org/> __20060125_______________________This posting was submitted with HTML in it___ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

