From the display area, select the type of logic task you want to create. Then, click

2-32 Oracle Fusion Middleware Developers Guide for Oracle Identity Manager Table 2–7 explains the various regions of the Add Adapter Factory Logic Task Parameters window: For the FOR conditional expression, use Table 2–8 to understand the various regions of this Add Adapter Factory Logic Task Parameters window. 6. Set the parameters for your conditional expression. This logic task will check to see if the length of the User ID is greater than 10 characters.

7. From the Add Adapter Factory Logic Task Parameters window toolbar, click Save.

The logic task you created is stored in the Oracle Identity Manager database. BREAK X RETURN X CONTINUE X Table 2–7 Regions of the Add Adapter Factory Logic Task Window Name Description Operand Type These combo boxes contain types of operands, such as adapter tasks and adapter variables. Comparator Combo Box From this combo box, you can set the relationship between two operands for example, , =, . Operand Qualifier These combo boxes contain the qualifiers for the operands. Literal Text Box When you select the Literal operand type, enter the specific literal into this field. Note: By selecting the FOR conditional statement, an Add Adapter Factory Logic Task Parameters window is displayed. However, it contains different text and combo boxes. Table 2–8 Add Adapter Factory Logic Task Parameters for FOR Conditional Statement Name Description Operand Type These combo boxes contain types of operands, such as adapter tasks and adapter variables. Comparator Combo Box From this combo box, you can set the relationship between two operands for example, , =, . Operand Qualifier These combo boxes contain the qualifiers for the operands. Increment Combo Box Within this area, you can set whether the initial value will increase or decrease, and by how much. Note: If you select the ELSE, BREAK, RETURN, or CONTINUE conditional expressions, proceed to Step 8. Table 2–6 Cont. Actions Resulting from Particular Conditional Statements Conditional Statement Statement Is Added to the Adapter Directly Secondary Window Appears Developing Adapters 2-33

8. From this window toolbar, click Close. The Add Adapter Factory Logic Task

Parameters window disappears, and the main screen is active once again. The logic task that you created—for example, If Check ID Length 10—appears within the Adapter Factory form. 9. Optional. Repeat Steps 3-8 to create additional logic tasks for the adapter. You are now ready to compile the adapter, so it can be used with a process task or form field.

10. To compile the adapter, click Build.

The text in the Compile Status field changes from Recompile to OK. This indicates that Oracle Identity Manager compiled the adapter and did not find any errors. You can now attach the adapter to a process task or form field.

2.9 Modifying Adapter Tasks

The following procedure will show you how to edit an adapter task, in case you must make changes to it. To modify an adapter task 1. Select the adapter that contains the adapter task you wish to edit for example, the Update Solaris User Group adapter.

2. Click the Adapter Tasks tab.

3. Double-click the adapter task that you want to modify. The Edit Adapter Factory Task Parameters window is displayed, displaying information that relates to the adapter task you selected. Within this window, make the necessary modifications.

4. On the Edit Adapter Factory Task Parameters window toolbar, click Save.

The information you modified is stored in the Oracle Identity Manager database.

5. On the toolbar, click Close.

The Edit Adapter Factory Task Parameters window disappears. The main screen is active again. The modified task appears within the child table of the Adapter Factory form. You must re-compile the adapter, so it can be used with a process task or form field.

6. To recompile the adapter, click Build.

The text in the Compile Status field changes from Recompile to OK. This indicates that Oracle Identity Manager compiled the adapter and did not find any errors. You can now attach the adapter to a process task or form field. Caution: All adapter tasks that can be executed for a condition of a logic task should be nested properly under that logic task. See Also: Section 2.10, Changing the Order and Nesting of Tasks for more information about nesting tasks