Microsoft Dynamics CRM - Retrieve a record

The Microsoft Dynamics CRM - Retrieve a record action A tool for building the processes, logic, and direction within workflows. Actions are the steps the workflow performs to complete a process. retrieves the attribute values of a record in Microsoft Dynamics CRM.

For example, you want to retrieve the contact details of a customer and email them to someone. By using the ID of the customer's record in Microsoft Dynamics CRM, you can retrieve the record and then store the record's attribute values in variables. You can then insert these variables in your email.

For more information about Microsoft Dynamics CRM, go to Microsoft Dynamics CRM.

Configure the Microsoft Dynamics CRM - Retrieve a record action

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.

  1. Select a Connection. If you do not have a connection, see Add a connection.
  2. Select the Entity name of the record you want to retrieve.

  3. Note: You must select the entity where the record exists or the workflow will fail.

  4. Enter the Record ID.
  5. By using variables, store the attribute values of the record being retrieved:

    1. Click Add field to view attributes for the selected entity.
    2. Select each attribute you want and then click Add.
    3. For each added field, select a variable to store the value.

      You can now use these variables later in your workflow.

Microsoft Dynamics CRM - Retrieve a record action fields, buttons, and settings

Field

Description

Variable types

Connection Credentials and other settings that enables workflows to communicate with external systems, services, or applications. It's required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

The Microsoft Dynamics CRM connection to use for retrieving record attributes.

(n/a)

Entity name

The entity of the record you want to retrieve. Accepts a selection from the drop-down list. Options in the drop-down list are derived from the selected Microsoft Dynamics CRM connection.

(n/a)

Record ID

The ID of the record you want to retrieve. Accepts any combination of typed text and inserted variables.

Text, Decimal, Integer, Boolean, DateTime, Collection

Add fields

Displays selections for browsing, selecting, and adding fields (attributes) that you want to store from the retrieved record.

(n/a)

(added fields)

Stores the value of the indicated attribute (field). Accepts an inserted variable.

To add optional fields, click Add field.

To remove a field, click (Delete).

(varies)