Update Objects activity

Use this activity to update existing objects in Saleforce.com.

About this task

While the Salesforce.com API limits the number of objects that it can update in a single call to 200 objects, the App Connect Salesforce.com Connector does not have such a limit. You can use the Update Objects activity to update an unlimited number of objects.  

Using the Update Objects activity.

Procedure

  1. In the Activities tab, open the Salesforce.com directory to find the Update Objects activity.
  2. Add the activity to an orchestration. The Checklist and Summary for the activity are displayed beneath the orchestration.
  3. Select a Salesforce.com endpoint. For instructions on creating or editing a Salesforce.com endpoint, see Creating or Editing a Salesforce.com Endpoint.
  4. Configure the activity by choosing a Salesforce.com object type and object field preferences. You can only select object types and fields that the Integration Appliance can update. The input map contains the object type with elements that correspond to the fields you select during this configuration step.
    Note: The Integration Appliance cannot create auto-number fields.
  5. Specify the Retry and Time out parameters for the activity.
  6. Map the input of the activity. The input map consists of an object's input parameter. This parameter consists of a single root element that has a single repeating element, named after the object type you selected, containing all the fields you selected in the Object Field Preferences table.
  7. Map the output of the activity.

Results

Map the input of the Update Objects activity

  1. In the Checklist, select Map Inputs. The objects element is displayed in the To Activity pane.
  2. Right-click the default node and choose Show Optional Parameters to show the optional input parameters for this activity:
    • AssignmentRuleHeader
    • MruHeader
    • EmailHeader
    • CallOptions
    • connection
    • sessionInfo
  3. Click Select Inputs... and select the input variable or variables for the map. For instructions about creating variables, see Creating variables.
  4. As appropriate, map the input parameters to the variable or variables. For mapping instructions, see Creating a map.

Optional and nillable field elements have the following behavior:

  • The Integration Appliance does not update an optional field, when the Salesforce.com server does not provide a value for the field.
  • If you set the xsi:nil attribute to true on a nillable field, the Integration Appliance sets the field to null during an update.
    Note: Setting a field to an empty string does not set a field to null.

Map the output of the Update Objects activity

  1. In the Checklist, select Map Outputs. The saveResults element is displayed in the From Activity panel.
  2. Click Select Outputs... and select the output variable or variables for the map. For instructions about creating variables, see Creating variables.
  3. As appropriate, map the output parameters to the variable or variables. For mapping instructions, see Creating a map.



Feedback | Notices


Timestamp icon Last updated: Tuesday, 27 September 2016


https://www.ibm.com/support/knowledgecenter/en/SS3LC4_7.5.3/com.ibm.wci.doc/Update_Objects_Activity.html