List Processing External Response Source Object Bind

List processing configurations can use the List Processing External Response Source Object to bind to a variable. For more information, refer to the List Processing External Processing Operation topic in the Data Preparation documentation here.

The bind can be found within the 'Binds to' dropdown as shown below.

Configuration

To use any bind:

  1. Create a business rule as defined in the Creating a Business Rule, Function, or Library topic here.
  2. Edit the business rule as defined in the Editing a Business Rule or Function topic here.
  3. In the Edit Operation dialog, add the bind to a business rule, as defined in the Adding a Bind topic in the Reference Materials documentation here.
  4. In the Edit Operation dialog, optionally add Messages, as defined in the Adding a Localized Business Rule Message topic here.
  5. In the Edit Operation dialog, add JavaScript to call the bind.

Example

The following is an example JavaScript that uses this bind.

Important: The example scripts should not be used as-is without thorough testing, including updating the script to match object and link types that exist on your system. JavaScript variable names are case-sensitive.

For object types being processed by a List Processing Configuration, this example script updates the Gender value.

Copy
var intAddressDC = currObject.getDataContainerByTypeID("MainAddressDataContainer"); 
var extAddressDC = extRecordObject.getDataContainerByTypeID("MainAddressDataContainer"); 

var extAddressDCO = extAddressDC.getDataContainerObject(); 

var attr = manager.getAttributeHome().getAttributeByID("InputStreet"); 
var extStreetValue = extAddressDCO.getValue("InputStreet").getSimpleValue(); 
intAddressDC.getDataContainerObject().setSimpleValue(attr, extStreetValue);