Enable the desired check boxes. Then, from the toolbar, click Save.

3 Using Adapters 3-1 3 Using Adapters This chapter describes how to work with and manage the adapters you have created to connect with external resources. It contains these sections: ■ Working with Rule Generator Adapters ■ Working with Entity Adapters ■ Working with Task Assignment Adapters ■ Working with Prepopulate Adapters ■ Working with Process Task Adapters ■ Adapter Mapping Information

3.1 Working with Rule Generator Adapters

This section explains how to work with rule generator adapters, and contains these topics: ■ Mapping Rule Generator Adapter Variables ■ Associating Rule Generators with Processes ■ Removing Rule Generators from Form Fields

3.1.1 Mapping Rule Generator Adapter Variables

In Chapter 2, Developing Adapters , you learned how to create a rule generator. Now, you must map the adapter variables of the rule generator to their proper locations to ensure that the adapter will function as intended. To map these adapter variables, access the Data Object Manager form from the Development ToolsBusiness Rule Definition folder of the Design Console. To map the adapter variables of a rule generator to their proper locations: 1. Open the Data Object Manager form. In the Design Console workshops, the Data Object Manager form is displayed. The following table lists and describes the various regions of the Data Object Manager form: Name Description Form Description Field From this lookup field, select the form that contains the field to which you are attaching the rule generator. 3-2 Oracle Fusion Middleware Developers Guide for Oracle Identity Manager

2. Double-click the Form Description field. A Lookup dialog box appears with the

forms to which you can attach rule generators.

3. Select the form you want for example, Solaris. Then, click OK.

4. On the toolbar, click Save.

The selected form, the forms data object, and the rule generator adapters associated with the form appear. In addition, Oracle Identity Manager enables the Map Adapters tab. For this example, the Solaris form has been selected. Its data object Thor.CarrierBase.tcUD_SOLARIS appears, along with the four rule generator adapters associated with it adpCONVERTTOLOWERCASE, adpSOLARISHMDSTRINGGEN , adpSETSOLARISASSET, and adpSETPASSWORDFROMMAIN . Oracle Identity Manager will trigger these four rule generators on preinsert. Based on the sequence numbers of these adapters, Oracle Identity Manager will trigger the adpCONVERTTOLOWERCASE adapter first, followed by the adpSOLARISHMDSTRINGGEN , adpSETSOLARISASSET, and adpSETPASSWORDFROMMAIN adapters respectively. For these rule generators to work properly, you must map the adapter variables to their proper locations.

5. Click the Map Adapters tab.

6. From the Name combo box, select the rule generator, which has adapter variables that can be mapped for example, the adpCONVERTTOLOWERCASE rule generator. Data Object Field This field displays the name of the data object, which is represented by the selected form. Attach Handlers Tab This tab displays: ■ The rule generators that are attached to the selected form. ■ The execution schedule of the rule generators associated with this form. ■ The order in which Oracle Identity Manager will run the rule generators. ■ Insert, update, and delete permissions for roles. Map Adapters Tab This tab displays: ■ The names of the rule generators that are associated with the form; ■ The status of these adapters. ■ The names, descriptions, and mapping statuses of the rule generators adapter variables. Note : The Map Adapters tab is grayed out until an adapter is assigned to the current data object. Tip: To change the sequence of triggering a rule generator: 1. Click Assign. The Event Handlers dialog box is displayed. 2. Select the rule generator from. 3. Click the up arrow and down arrow buttons to modify the order of the rule generator. Name Description