This is a multi-part message in MIME format.
Hi Brian, Yes I have to have pattern matching on the second form as the second form can have entries created independently of the first form. For the same reason the pattern matching has to be on as this is a business requirement.
In the real situation the same menu is used for both forms but this menu is based on a search of another form. The specific value of 2008A has been marked as inactive but some entries in the first form still have the 2008A value and only now are the entries in the second form being are being created from the first form. Ideally the value of 2008A should be made active again but currently this is not an option. Thanks for your comments on doing some more error checking before creation in the second form. Nyall -----Original Message----- From: Action Request System discussion list(ARSList) on behalf of Brian Bishop Sent: Wed 27/05/2009 17:16 To: arslist@ARSLIST.ORG Subject: Re: Need to make an error message more friendly. Hi Nyall, Assuming you are pushing the value of the field Menu on form A1 to the field Menu on form A2. First of all ask yourself is it necessary to have a pattern match of $MENU$ on the menu field on form A2. If it is, then ask yourself why the values for Menu in form A1 don't match those in form A2. If there is a valid reason that 2008A can appear in form A1 but not in A2, then what do you want to happen? Logically you don't want an entry to be created in form A2. So, if you don't want an entry created in form A2 when the Menu value in form A1 is 2008A, you need to create some workflow that checks if the value in form A1 is also valid for form A2. If the check confirms it is valid, do the push, if it isn't don't do the push. If you get the workflow correct the user will not be aware that this decision action is happening and they will never get this obscure message again. If however you do want the entry to be created then you need to either replace, or remove, the menu value in form A1 prior to the push to form A2. The same workflow as above to check if it is valid but rather than not doing the push, do it with the 2008A replaced with a valid value or remove it. This will be decided by whether the field menu in form A2 is a required field or not. Brian Bishop Goldstag Consultants Ltd tel: +44 (0)7973 746832 <http://www.linkedin.com/in/brianpbishop> Linkedin From: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] On Behalf Of MCCAVITT Nyall Sent: 27 May 2009 15:38 To: arslist@ARSLIST.ORG Subject: Need to make an error message more friendly. ** Hi, Environment: ARS V7.1 (Solaris) running with a remote Oracle 10g database. One of my users has complained that the standard error message from Remedy for a certain condition is not very user-friendly and I cannot see an easy way of making the message more friendly. Any suggestions would be welcome. The simplified situation is this: One one form, called A1, for this example, I have a field called 'Menu' which has a menu attached to it. The values in this menu are 2008A, 2008B, 2008C and 2008D. There is a button on this field which when clicked on copies the data from form A1 to form A2 by means of an Active Link. This second form also has a field called 'Menu' with an attached menu, but in the case the menu values are 2008B, 2008C, 2008D i.e. the value 2008A is missing from the menu on the form A2. When an entry is being created on form A1 with a value of 2008A in the 'Menu' field and then the button is clicked on the user receives the following error message: ARERR [306] Value does not fall within the limits specified for the field : (Pattern - $MENU$) : 536870913 The error message itself is clear enough as to why the error has occurred but the problem is that is uses the Database ID to identify the field where the problem is. This is OK for an Administrator but the user would like to have the name of the field i.e. the database label value. Personally I would like to have the database label value, the form name and the data value that has caused this error. Thanks in advance. Nyall _____________________________________________________________ Nyall McCavitt CND/COE/VI/SQ (BE.25) Tel: +33 (0)1 69 88 73 02 ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender. _Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers Are"_No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.339 / Virus Database: 270.12.40/2135 - Release Date: 05/27/09 07:50:00 _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are" ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender. _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"