Using the Sage CRM Retrieve All Objects Activity

Use the Retrieve All Objects activity to fetch details of a specified object type from Sage CRM.

About this task

Use this task to retrieve all object details of a specified object type in the Sage CRM instance. The call to this activity is a synchronous call where the input data is sent to the activity for processing and the response is sent back to the orchestration.

Procedure

  1. Right click the Orchestrations section and select new orchestration.
  2. Drag the newly created Sage CRM endpoint to the orchestration and select Retrieve All Objects activity.
  3. The Retrieve All Objects activity will be added to the orchestration. Select the activity. The Sage CRM Retrieve All Objects Checklist is displayed.
  4. In the checklist, click Configure.
  5. Click Browse to select the object type. The Browse Sage CRM window is displayed.
  6. In Browse Sage CRM, you can select the object type from the object type list. Click OK.
  7. Select the Map Inputs in the Checklist. The XML Schemas generated from the selected object of the Retrieve All Objects activity are displayed as nodes under the request input parameter in the To Activity panel.
  8. In the Checklist, click Retry. Review the default settings and make the required changes.
  9. Create a map between the orchestration variables and the input parameter of the activity.
    Note: Values must be provided at run time for any mandatory elements of the input structure. A value can be provided by specifying a default value for element or by linking the element with an input node. During run time if no value is provided for a mandatory element, the activity throws an exception, which is reported by the Web Management Console. If a value is not provided at run time for an optional input parameter, no exception is thrown during run time.
  10. Select the Map Outputs in the Checklist. The XML Schema generated to hold the response of the activity is displayed as nodes under the response output parameter in the From Activity panel.
  11. Create a map between the output parameters and orchestration variables.

    Query Parameter:

    Table 1. Supported Query parameters for the Retrieve All Objects
    Field Name Description
    startIndex Start index of the record from which the result of the API call should start
    Count Count of number of objects to be displayed in the response.

    Atleast one of the above query parameters should have a value mapped / default value for the activity to execute successfully.

Results

You have configured the Sage CRM Retrieve All Objects activity.
Note:

This activity works on fetching multiple records of a specified type. As such, the input response would be single, which is applicable to a single retrieve all API call to fetch multiple objects.




Feedback | Notices


Timestamp icon Last updated: Wednesday, 15 June 2016


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