Skip to main content

Task Dynamics CRM - Get Entity​

The Dynamics CRM - Get Entity Task writes the value of one attribute of a record in Dynamics CRM to the output, using a Dynamics CRM Connection.

Get entity tab with the Connection details, Entity name and Entity ID with their Fill buttons, and Attribute name with its Fill button

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

Get entity tab​

  • Connection: in the Connection details group, the Dynamics CRM Connection to use; see Connection - Dynamics CRM. Click the Settings icon to open Manage Connections
  • Entity name: the logical name of the entity (the record type), for example account or contact. Click Fill to list the entities of the Dynamics CRM instance
  • Entity ID: the ID of the record. Select an Entity name first, then click Fill to list the records of that entity
  • Attribute name: the attribute to read, "ID" by default. Click Fill to list the attribute names. On this Task, "ID" is not an attribute of the record, so choose an attribute such as the record's own ID attribute, for example accountid for an account

Variables are not resolved in Entity name and Entity ID.

Output and errors​

The output is the value of the attribute. When Dynamics CRM rejects the request, or the Connection cannot connect, the Task fails with the error that is returned.

warning

When the record has no value for the attribute, or the attribute does not exist, the error "Entity Id was not found." is written to standard error, the output is empty, and the Task reports success.