Previous Topic: EMS Event Type

Next Topic: Object Event Type

Logging Workflow Events

When a preprocess or postprocess event is handled, the event will be logged. In this case, the category in the log is either SmLogEmsCat_EventPreprocess or SmLogEmsCat_EventPostprocess. The Event ID is the original Event ID (for example, SmLogEmsEvent_CreateUser).

In addition, the following fields of SmLog_EMS_t apply to preprocess and postprocess events:

Field

Description

nVersion

Version number of the SiteMinder server.

nCurrentTime

Time when the event occurred.

szUserName

The name of the administrator who generated the original event.

szSessionId

The EMS session ID.

szDirName

The name of the SiteMinder directory where the target object is located.

szObjPath

Full distinguished name of the object targeted by this event.

szFieldDesc

Name of the workflow library that executed the event.

szStatusMsg

This includes a workflow completion code and an optional error message. The following workflow completion codes are defined in SmApi.h:

  • Sm_DmsWorkflowApi_Success
  • Sm_DmsWorkflowApi_Ignore
  • Sm_DmsWorkflowApi_Failure
  • Sm_DmsWorkflowApi_Reject
  • Sm_DmsWorkflowApi_NoUserContext
  • Sm_DmsWorkflowApi_SkipSuccess

More Information:

SmLog_EMS_t


Copyright © 2010 CA. All rights reserved. Email CA about this topic