So far in our tutorial, we have shown how to create a REST Integration Point to get customer data, and how to build an Integration Point element in the Interaction Designer. The response received from the Integration Point is held in a custom variable called my_customer

In order to obtain the values of the specific fields of the my customer object, these values need to be allocated into local simple variables. In this part of the tutorial, we will create three simple text variables, and allocate one field of the custom variable to each simple variable.

Note: The following procedure is simplified. For full details on allocating field values into simple variables, refer to using Custom Variables in Interactions.

To allocate object fields into simple variables:

  1. From the toolbar, click , and then click inside the Interaction Map.
    The Allocator Definition dialog opens.
  2. At the bottom of the dialog, click Add Allocation.
    Three dropdown lists appear.
  3. From the dropdown on the left, expand the User variables node, and select Add new. Then, click .
    The Variable Definition dialog opens.
  4. From the Variable Definition dialog, create a new text variable called first name. Then, click OK to save the variable and close the popup.
  5. From the dropdown in the middle of the Allocator Definition dialog, select equals.
  6. From the dropdown on the right, select the first_name field of the my customer variable.

  7. Repeat Steps 3-6 to allocate the values of the last_name and phone_home fields.
    The Allocator Definition dialog should now appear as follows:

  8. Click OK.
    The Allocator Definition dialog closes.
  9. Draw a Connector between the Integration Point element and the Allocator element.