Query for the form to which you want to attach a prepopulate adapter for

Using Adapters 3-11

10. From the Field Name combo box, select the form field, such as User ID, to which

the prepopulate adapter will be attached.

11. Double-click the Rule lookup field. From the Lookup dialog box that is displayed,

select the rule that will determine if the associated adapter will be used to populate the designated form field with information for example, Rule for Lowercase User ID.

12. Double-click the Adapter lookup field. From the Lookup dialog box that is

displayed, choose the adapter that will be associated with the field you selected in Step 10, for example, Display Lowercase Letters for User ID.

13. In the Order field, enter the priority number of the rule you selected in Step 11, for

example, 2.

14. On the prepopulate Adapters window toolbar, click Save.

15. Mapping Incomplete appears within the Adapter Status field. This signifies that the adapter you selected contains variables that have not been mapped correctly. These variables can be mapped to their proper locations. Otherwise, the adapter will not work. 16. Set the mappings for each variable that appears in the Adapter Variables region of the prepopulate Adapters window. To do so, double-click the row header of the variable you want to map, for example, UserID. The Map Adapter Variables window is displayed. Table 3–4 describes the fields of the Map Adapter Variables window. Adapter From this lookup field, select the adapter that will be associated with the designated field. Order From this field, set the priority number of the selected rule. Adapter Status This field displays the mapping status of the adapter variables. See Attaching Process Task Adapters to Process Tasks on page 3-14 for information about the various mapping statuses for an adapter. Adapter Variables This area displays the following: ■ Mapped: The mapping statuses of the adapters variables. Y indicates that an adapter variable has been mapped properly; N indicates that this variable has not been mapped correctly. ■ Name: The names of the adapter variables. ■ Mapped to: The form fields to which the variables are mapped If an adapter variable is not yet mapped, the corresponding cell in this column will be empty. Table 3–4 Fields of the Map Adapter Variables WIndow Field Name Description Variable Name This field displays the name of the adapter variable for which you are setting a mapping for example, UserID. Data Type This field shows the data type of the adapter variable for example, String is the data type for the UserID adapter variable. Table 3–3 Cont. Fields of the Prepopulate Adapter Dialog Box Name Description