John, Here is how I have learned to read these things...
In ar.h the /* Server Event Types */ section defines the 'Event Type' values for the events. However for each value there are other blocks that define the 'Event Cause'. For each 'Event Type', 'Event Cause' the meaning of 'Event Details [123]' are defined. FWIW: In the PDF's I think this section will explain a lot.... Configuring-710.pdf: "Appendix E: Working with the Server Events form" (page 307-323) HTH. FWIW I took some time a few years ago and put together an ARS form with the bulk of the "Server Event" decoding (English string values for the coded numbers stuff even to the descriptions of the Event Details for each Type,Cause combo) information so that I could Join it with the "Server Event" form and read from a table field what the codes meant. (Not to mention being able to search on English strings too. :) However, BMC Remedy made some improvements in v7.1 that greatly depreciated the value of those things in my mind. So I doubt they will be of much help to others at this point. (And it was a pain for me to maintain since the v5 days. :( It really is to bad that BMC does not have a kind of "Constants" form with an arx file that they produce for use "ARS Programmers". Instead of making us dig through the C API to get at all the good stuff.) -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap.... Pick two. On Mon, Oct 27, 2008 at 10:42 PM, John <[EMAIL PROTECTED]> wrote: > ** > OK -- so I finally looked into ar.h (per Axton) to figure out what the form > 'server events' is telling me. > > However -- I still don't quite know how to interpret the info provided. > Has anybody actually used the Server Events with success? And - what did you > do? > Here is what I have in my 'server events' table > Event Type, Event Cause, Event Date, Event Details1 ,2,3 > 1,8,10/27/2008 11:36:49 AM, JDS-Test > 1,8,10/27/2008 11:36:49 AM, JDS-Test > 2,14,10/27/2008 11:36:53 AM, 536870913;Field1 > 2,14,10/27/2008 11:36:53 AM, 536870914;Field2 > > So -- oddly enough -- I have 2 entries for what appear to be modifying a > form. > > Then 1 entry for each of the 2 fields I created. > > So -- parsing the first line -- I am assuming the > > 1,8,10/27/2008 11:36:49 AM, JDS-Test > > 1 = AR_SVR_EVENT_CHG_SCHEMA -- which is fine > > 8 = ??? > > Date is obvious > > JDS-Test -- the name of the table I created > > then the next interesting line > > 2,14,10/27/2008 11:36:53 AM, 536870913;Field1 > > 2 = AR_SVR_EVENT_CHG_FIELD > > 14 = ??? > > Date is obvious > > 536870913;Field1 -- the field I created. > > So -- what is 'Event Cause' -- and does that info exist in ar.h -- I could > not find it. > > Thanks in advance. > > -John > > #define AR_SVR_EVENT_CHG_SCHEMA 1 > #define AR_SVR_EVENT_CHG_FIELD 2 > #define AR_SVR_EVENT_CHG_CHARMENU 3 > #define AR_SVR_EVENT_CHG_FILTER 4 > #define AR_SVR_EVENT_CHG_IMPORT 5 > #define AR_SVR_EVENT_CHG_ACTLINK 6 > #define AR_SVR_EVENT_CHG_ESCAL 7 > #define AR_SVR_EVENT_CHG_VUI 8 > #define AR_SVR_EVENT_CHG_CONTAINER 9 > #define AR_SVR_EVENT_CHG_USERS 10 > #define AR_SVR_EVENT_CHG_GROUPS 11 > #define AR_SVR_EVENT_CHG_SVR_SETTINGS 12 > #define AR_SVR_EVENT_CHG_ALERT_USERS 13 > #define AR_SVR_EVENT_ARCHIVE_DONE 14 > #define AR_SVR_EVENT_SERVGROUP_ACTION 15 > #define AR_SVR_EVENT_CHG_LICENSES 16 > #define AR_SVR_EVENT_USER_ADDED 0 > #define AR_SVR_EVENT_USER_MODIFIED 1 > #define AR_SVR_EVENT_USER_DELETED 2 > #define AR_SVR_EVENT_GROUP_ADDED 0 > #define AR_SVR_EVENT_GROUP_MODIFIED 1 > #define AR_SVR_EVENT_GROUP_DELETED 2 > #define AR_SVR_EVENT_COMPGROUP_ADDED 3 > #define AR_SVR_EVENT_COMPGROUP_MODIFIED 4 > #define AR_SVR_EVENT_COMPGROUP_DELETED 5 > #define AR_SVR_EVENT_APPLICATION_ADDED 6 > #define AR_SVR_EVENT_APPLICATION_MODIFIED 7 > #define AR_SVR_EVENT_APPLICATION_DELETED 8 > #define AR_SVR_EVENT_ROLE_ADDED 9 > #define AR_SVR_EVENT_ROLE_MODIFIED 10 > #define AR_SVR_EVENT_ROLE_DELETED 11 > #define AR_SVR_EVENT_ARCHIVE_FORM 1 > #define AR_SVR_EVENT_ARCHIVE_DELETE 2 > #define AR_SVR_EVENT_ARCHIVE_FORM_DELETE 3 > #define AR_SVR_EVENT_ARCHIVE_XML 4 > #define AR_SVR_EVENT_ARCHIVE_ARX 5 > #define AR_SVR_EVENT_SERVGROUP_FAILOVER 1 > #define AR_SVR_EVENT_SERVGROUP_RELINQUISH 2 > #define AR_SVR_EVENT_SERVGROUP_TAKEOVER 3 > #define AR_SVR_EVENT_IMPORT_SET_OBJECT 0 > #define AR_SVR_EVENT_IMPORT_CREATE_OBJECT 1 > > -- > John David Sundberg > 235 East 6th Street, Suite 400B > St. Paul, MN 55101 > (651) 556-0930-work > (651) 247-6766-cell > (651) 695-8577-fax > [EMAIL PROTECTED] > On Mar 27, 2008, at 1:52 PM, Axton wrote: > ** > http://arswiki.org/projects/arapi/browser/trunk/7.1/solaris/include/ar.h#L5095 > > Axton Grams > > On Thu, Mar 27, 2008 at 2:36 PM, Tanner, Doug <[EMAIL PROTECTED]> > wrote: >> >> ** >> >> Does anyone have (and is willing to share) the data mapping (Elements) for >> the Server Events (Event Type & Event Cause) >> >> >> >> (Example Below) >> >> >> >> Event Type – 1 Creating Form >> >> Event Cause - 1 Creating Form >> >> >> >> Event Type – 2 Creating Field >> >> Event Cause - 0 Creating Field >> >> >> >> Thanks, Doug >> >> >> >> Doug Tanner >> >> Senior Developer >> >> Remedy Skilled Professional (RSP) >> >> (704) 328-3178 >> >> [EMAIL PROTECTED] _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

