2.0 Processes Test

The processes test is an XPOZ script file that runs through the hire and termination processes. These processes are part of an abstraction layer architecture that is included with the Resource Kit. For more information, see Business Logic in the Identity Manager Resource Kit 1.2 Architecture Reference Guide.

You use the processtests.env XPOZ script file to start the processes test. The test walks user objects through the hire and termination processes. The test determines what the next state of the process is from attributes such as DirXML-HireDate, DirXML-TerminationDate, and Login Disabled. These attributes are stored on the user objects.

The state names and process flow are based on the process architecture documentation in the Business Processes section of the Identity Manager Resource Kit 1.2 Architecture Reference Guide. If a manager is required to approve the hire or termination of the users, the DirXML-EntitlementsRef attribute can be used in the test.

There are some pauses included in the test to allows the WorkOrder driver to process any pending DirXML-workOrder objects. These WorkOrder objects start such activities as triggering a workflow in the User Application, enabling a user object after it is hired, or disabling a user object after it is terminated.

The test also verifies that the user object has appropriate access. This is done by looking at the user’s Login Disabled attribute. If the user should not have access, the attribute is disabled. If the user should have access, this attribute is enabled.

If you have created sample users to see how the processes work, the test can also delete these users.