I'm working on a console that will allow for updates of data through an
external program.  I would like to verify that the Form, Query, Field, and
Field value that they are choosing are valid before I call my external
program.  I found this runprocess that allows me to validate the Query

Application-Parse-Qual "<form>" <qualification_string>

This verifies that the Form and Qualification string are valid by converting
them to an 'internal representation'...which I don't actually want...but it
serves my purposes at the moment....what I can't find is verification that
the field they have specified to update, and the value they want to put in
it are valid and won't violate any rules that Remedy has in place.  For
example if I have a selection field with values No/Yes, and they specify
that field, I would like to throw an error if they specify that they want to
set it to 'Heck Yes'....or if they are wanting to set a Character field with
200 characters, but the field has a limit of 50, my program will error when
trying to set it, guaranteed...but I want to catch it before I call my
external program.  Any suggestions?

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to