4.2 New Hire Business Logic

This section describes the business logic used in the Resource Kit when a new hire occurs. The Resource Kit is kept very generic and flexible so that it can be reused in many different environments quickly. The business logic is contained in multiple drivers, jobs, and work orders.

4.2.1 New Hire without Manager Approval

  1. Submit a request for a new employee at the Register New Employee Web page. This Web page is a custom portal page created in the User Application. For more information, see Importing the Custom Portal Page in the Identity Manager Resource Kit 1.2 Installation Guide for the Identity Manager Components.

  2. When this request is issued, a new user account is created in the Identity Vault with a HireDate, FirstWorkingDay, and DirXML-ProcessTable attributes.

  3. The next two step occur simultaneously:

    1. The Business Logic driver creates a WorkOrder object with a due date that is equal to the HireDate attribute and a WorkOrder type of Account Enabled.

    2. The State Machine driver starts the ELCP and the Hire process. The ELCP is the parent process.

  4. The WorkOrder driver keeps checking the due date on the WorkOrder object, until the due date reaches the current time. The due date can be set in the future.

  5. The next two steps occur simultaneously:

    1. When the due date is current, the WorkOrder driver processes any current Account Enabled WorkOrder objects, and creates a WorkToDo object.

    2. When the due date reaches the current time, the Process-Trigger job that is on the State Machine driver runs.

  6. The next two steps occur simultaneously:

    1. The Business Logic driver detects the add event for the WorkToDo object and executes the command of Account Enable.

    2. The State Machine driver advances the hire process.

      For more information about the hire process, see Section 5.5, Hire Process.

  7. The WorkOrder object sets the attribute of login disabled to false, which enables the user’s account.

4.2.2 New Hire with Manager Approval

  1. Submit a request for a new employee at the Register New Employee Web page. This Web page is a custom portal page created in the User Application. For more information, see Importing the Custom Portal Page in the Identity Manager Resource Kit 1.2 Installation Guide for the Identity Manager Components.

  2. When this request is issued, a new user account is created in the Identity Vault with a HireDate and a DirXML-ProcessTable attributes.

  3. A workflow is created and is sent for approval. The approver could be to a manager, an HR person, or anyone else who must approve hiring a new employee.

  4. The new hire is confirmed through the Workflow by the approver.

  5. The next two steps occur simultaneously:

    1. The Business Logic driver creates a WorkOrder object with a due date that is equal to the HireDate attribute and a WorkOrder type of Account Enabled.

    2. The State Machine driver starts the ELCP process and the Hire process. The ELCP is the parent process.

      For more information about the hire process, see Section 5.5, Hire Process.

  6. The WorkOrder driver keeps checking the due date of the WorkOrder object until the due date reaches the current time. The due date can be set in the future.

  7. The next three steps occur simultaneously:

    1. When the due date reaches the current time, a workflow is started and sent to the hiring manager to grant approval for the user’s entitlements. The hiring manager can either approve or deny the entitlements for the user. This also sets the first working day date for the user.

    2. When the due date is current, the WorkOrder driver processes any current Account Enabled WorkOrder objects and creates a WorkToDo object.

    3. When the due date reaches the current time, the Process-Trigger job on the State Machine driver runs.

  8. The next two steps occur simultaneously:

    1. The Business Logic driver detects the add event for the WorkToDo object and executes the command of Account Enable.

    2. The State Machine driver advances the hire process.

  9. The WorkOrder object sets the attribute of login disabled to false, which enables the user account.