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]



DISCLAIMER Important! This message is intended for the above named person(s) only and is CONFIDENTIAL AND PROPRIETARY. If you are not the intended recipient of this e-mail and have received it in error, please immediately notify the sender by return email and then delete it from your mailbox. This message may be protected by the attorney- client privilege and/or work product doctrine. Accessing, copying, disseminating or re-using any of the information contained in this e- mail by anyone other than the intended recipient is strictly prohibited. Finally, you should check this email and any attachments for the presence of viruses, as the sender accepts no liability for any damage caused by any virus transmitted by this email. Thank you. __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___

__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___


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

Reply via email to