5.4 Employee Life Cycle Process

This section explains how the employee life cycle process (ELCP) works. It manages all HR-driven events that occur during the life cycle of the employee’s account, including the hire and termination processes.

Every step in the ELCP process is represented as an integer. Positive odd numbers represent requests. Positive even numbers are successes, and negative even numbers are failures. Negative odd numbers are reserved for process states and processing errors. Processes can loop, branch into sub-processes, and merge again downstream.

The ELCP starts the hire process when the startHire request is issued. The hire process handles all events that occur during the hiring. The ELCP measures the success of the startHire request and sets the hireComplete state when all requirements are met.

Only a successfully hired employee can be terminated. The ELCP controls when the termination process starts and records the status of the termination process in the terminationComplete event.

The ELCP process currently controls only the hire process and the termination process. In the future, other HR events like maternity leave, promotion, relocation, or demotion can be handled by the ELCP process.

Figure 5-2 is a graphical representation of the ELCP.

Figure 5-2 Employee Life Cycle Process (ELCP)

5.4.1 Employee Life Cycle Process States

This section contains a descriptions of each state that can occur in the ELCP. The descriptions refer to global configuration values (GCVs) that are set on the drivers.

enabled (0)

  • Description: ELCP is enabled.

  • Conditions: The required conditions for the ELCP process to reach the current state.

    • The object is a user.

    • The object resides in the container defined in the GCV Operational Settings > User Container.

    • No other ELCP process is currently running for the object.

    • PID != -1

  • Actions: The business logic driver verifies the account is disabled (Login Disabled=True) and marked inactive (employeeStatus=inactive).

startHire (9)

  • Description: Starts the hire process.

  • Conditions: The required condition for the ELCP process to reach the current state.

    • The current ELCP state is enabled (0).

hired (10)

  • Description: The hire process is completed.

  • Conditions: The required conditions for the ELCP process to reach the current state.

    • The current ELCP state is startHire (9).

    • The current hire process state is completed.

startTermination (19)

  • Description: Starts the termination process.

  • Conditions: The required conditions for the ELCP process to reach the current state.

    • The current ELCP state is hired (10).

    • The termination date requires a value.

terminated (20)

  • Description: The termination process is completed.

  • Conditions: The required conditions for the ELCP process to reach the current state.

    • The current ELCP state is startTermination (19).

    • The current termination process state is completed.

completionPending (29)

  • Description: ELCP is finishing.

  • Conditions: The default behavior is that this step is a manual process. This state is set through a GCV. By default, the ELCP does not auto-complete.

    • The current ELCP state is terminated (20).

completed (30)

  • Description: ELCP is completed.

  • Conditions: The required condition for the ELCP process to reach the current state.

    • The current ELCP state is completionPending (29).