Skip Ribbon Commands
Skip to main content
SharePoint

Retrieve Specific CRM Records for a Specific Entity Type

To retrieve all CRM records for a specific entity type, complete the following steps: 
  1. Check out and open the process you want to edit.

  2. In the Toolbox pane, click Microsoft CRM 4. A drop-down list is displayed.

  3. Double-click or drag the Retrieve CRM Records into the process.

  4. Link the activity appropriately with other activities in the process.

  5. Right-click the Retrieve CRM Records activity. A shortcut menu is displayed.

  6. Click View Properties. The Retrieve CRM Records window is displayed.

  7. Click the Resource and Entity tab. The corresponding screen is displayed.

  8. In the CRM System Resource field, click the System Resource editor icon and select the appropriate CRM system resource.

  9. In the CRM Entity field, select the appropriate input field editor and set the field to a value that is a CRM activity.

    Note:
    If you select the CRM Entity editor, you can directly select the CRM entity that you want to retrieve.
    If your system resource contains a data item in the connection string property, click Configuration values and enter a valid connection string for design-time, configuration purposes.


  10. Click the Retrieval Criteria tab. The corresponding screen is displayed.

  11. Select the Retrieve Records That Meet the Following Criteria option.

  12. Select the criteria you want to use to retrieve CRM records from the following options:

        Retrieve records that meet all of the following criteria
        Retrieve records that meet one or more of the following criteria
        Retrieve records that do not meet all of the following criteria
        Retrieve records that do not meet one or more of the following criteria

  13. In the Attribute field, click the CRM Attribute editor icon. A drop-down list of attributes is displayed.

  14. Select the appropriate attribute. The selected attribute’s name and the corresponding data type are displayed in the respective fields.

  15. In the Operator field, select the relevant operator for the criteria you want to apply.

  16. In the Value field, select the appropriate input field editor and set the field to a value that you want to map to the attribute.

  17. Click OK. You configured the activity to retrieve all CRM records for a specific entity type. You are now ready to map
    attributes to data items as documented in the corresponding topics in this section.
Related Topics
Automatically Determine which Data Items to Populate with CRM Attribute Values
Manually Determine which Data Items to Populate with CRM Attribute Values
Writing the CRM Records to an XML File

Source
BPM Designer Topics > Overview of Activities and Activity Topics > Microsoft CRM 4 Activities > Retrieve CRM Records
Last modified at 7/31/2020 11:56 AM