Try OpenEdge Now
skip to main content
Managed Adapters Guide
Database Managed Adapter : Tutorial 1: Using the Database Adapter : Step 10: Mapping Adapter inputs / outputs to dataslots
 

Step 10: Mapping Adapter inputs / outputs to dataslots

The Database Adapter configuration is complete with input and output parameters. The next step is to define the association between the adapter input/output parameters and the dataslots for the application defined in Step2: Creating the process flow.
To map adapter inputs / outputs to dataslots:
1. Open the Dataslot Mapping dialog box by clicking Change mapping from the Configuration tab of the Properties view of the Query workstep.
2. You can map the input parameter ID to the CustID dataslot, the name parameter to the CustName dataslot, the address parameter to the CustAddr dataslot, and the phone parameter to the CustPhone dataslot.
3. Click OK to return to the Properties view of the Query workstep.
4. Click OK. Your business process is now completely defined.
5. Save the business process under the name CustomerInfo.
When the process is started, the user is presented with a prompt to enter a customer ID (Start workstep). The Database Adapter (Query workstep) uses this ID to obtain the customer name and phone number from the database. This data is then displayed (ShowInfo workstep).