In the synchronous phase, the following operations are performed:
After the user selects a task for processing, but before the user is presented with a list of possible subjects for the task, the following processing can occur:
Business processing through a business logic task handler’s handleStart() method.
API: Business Logic Task Handler API
The subject of a task is the object that is being directly affected by the task, for example, a User object in a Create User task.
After the user selects the subject of the task, but before the subject’s data is displayed on the task screen, the following processing can occur:
API: Business Logic Task Handler API
After the user has selected the task to perform and the task’s subject, CA IdentityMinder displays the appropriate task screen containing the subject’s data.
A task screen may contain fields associated with physical attributes or logical attributes.
Fields associated with logical attributes are populated with data provided by logical attribute handlers. For example, a department number may be converted from a numeric code (physical attribute) to its corresponding user-friendly name (logical attribute) before being displayed on the task screen.
API: Logical Attribute API
CA IdentityMinder can execute validation rules during data entry. Validation rules are specified in the directory.xml file for an entire environment, or in a task screen for a particular task. Validation rules are not performed by logical attribute handlers.
During data entry, validation rules can be invoked in any of the following ways:
After the user finishes supplying data on the task screen and clicks Submit, CA IdentityMinder performs the following operations in order:
Validation rules can be implemented as regular expressions, JavaScript, or Java classes.
Field-level validation takes place within the scope of the user-supplied attribute value only. For example, if you are validating a date, you can validate the date itself, but you cannot compare the date against other information in the task. Validating data against other data in the task is called task-level validation.
API: Logical Attribute API
API: Logical Attribute API.
Task-level validation lets you validate field data against any information in the task session or in the data store. For example, during a Create User task, CA IdentityMinder calls a predefined business logic task handler that verifies whether the user ID for the new user is unique.
Business logic task handlers can be called at the following times during the synchronous phase of task processing:
API: Business Logic Task Handler API
If validation errors occur, the errors are reported to the user immediately. The user is allowed to correct the errors and resubmit the task.
After all validation is performed successfully, CA IdentityMinder breaks down the task into the individual transactions that occur during the execution of the task. Each transaction is represented by an event. For example, a Create User task may consist of the following events:
After events are instantiated for the task, the following processing can occur to allow a finer degree of control over the execution of a task:
Business processing through a business logic task handler’s handleSubmission() method.
For example, workflow approvals can be required for individual events, so that the rejection of one event may not impact the execution of other events or the overall task.
API: Business Logic Task Handler API
After CA IdentityMinder calls this method for all associated business logic task handlers, the synchronous phase is complete.
Note: Validation rules can be implemented as regular expressions, JavaScript, or Java classes. For more information, see the Configuration Guide.
Copyright © 2013 CA.
All rights reserved.
|
|