Update Objects activity

Use this activity to update existing objects in ServiceMax.

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 Cast Iron® ServiceMax 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 ServiceMax 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 ServiceMax endpoint. For instructions on creating or editing a ServiceMax endpoint, see Creating or editing a ServiceMax endpoint.
  4. Configure the activity by choosing a ServiceMax 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, which is 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 ServiceMax server does not provide a value for the field.
  • If you set the xsi:nilattribute 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: Thursday, December 17, 2015


http://pic.dhe.ibm.com/infocenter/wci/v7r0m0/topic/com.ibm.wci.doc/SerMax_Update_Objects_Activity.html