5.3 Schema

In order for the abstraction layer to work, additional schema definitions are added to eDirectory™. The schema extensions add objects and attributes that store the process definitions and process states.

Table 5-2 DirXML-ProcessTable and DirXML-ProcessHistory Fields.

Field

Format

Description

type

String

Identifies the process through its name, such as hire or termination. The value in this field must match the name of the DirXML-Process object that defines the process.

state key

Signed Integer

Tracks the current state of the process.

pid

String

A unique process identifier.

time

YYYYMMDDhhmmss

The last time and date the process was updated.

state name

String

A human-readable string describing the state. This is closely linked to the state key. It is recommended that camel-case is used and no spaces or special characters are added.

params

String

Parameter necessary to perform the requested step.

msg

String

An optional result status message.

The following example shows how the DirXML-ProcessTable attribute and the DirXML-ProcessHistory attribute are used. This information is taken from an LDIF export of a user object.

DirXML-ProcessTable: elcp#10#PID0000124950#20080208013104#hired##
DirXML-ProcessHistory: elcp#0#PID0000124950#20080208010831#enabled##
DirXML-ProcessHistory: hire#0#PID0000124951#20080208010832#enabled##
DirXML-ProcessHistory: hire#39#PID0000124951#20080208010832#noConfirmationRequired##
DirXML-ProcessHistory: hire#40#PID0000124951#20080208010832#readyForHire##
DirXML-ProcessHistory: hire#49#PID0000124951#20080208010832#directHirePending##
DirXML-ProcessHistory: hire#50#PID0000124951#20080208013057#directHireComplete##
DirXML-ProcessHistory: hire#99#PID0000124951#20080208013058#completionPending##
DirXML-ProcessHistory: elcp#9#PID0000124950#20080208010831#startHire##
DirXML-ProcessHistory: hire#100#PID0000124951#20080208013101#completed##