Execute Batch Operations REST
The Execute Batch Operations REST activity is used to add, update, and delete entity records in the Microsoft Dynamics CRM server.
This activity supports adding, updating and deleting multiple entity records at a time through using a REST batch API call.
General
On the General tab, you can establish a connection to the Microsoft Dynamics CRM server, and specify the type of entity records or specific attributes of an entity for which you want to execute a batch request.
The following table lists the configurations on the General tab of the Execute Batch Operations REST activity:
Field | Module Property? | Description |
---|---|---|
Name |
No |
Specify the name of the activity in the process definition. |
Dynamics CRM REST Connection |
Yes |
Specify a shared connection resource.
Click the icon to select a Dynamics CRM REST connection. If no matching Dynamics CRM REST connections are found, click Create Shared Resource in the Select DynamicscrmRestResource Resource Template dialog box to create one. See Creating a Dynamics CRM REST Connection for more details. |
Build Batch Request | No |
Build a batch request. To build a batch request:
|
Description
On the Description tab, you can enter a short description for the Execute Batch Operations REST activity.
Input
On the Input tab, the input of this activity is displayed. The input varies depending on the type of operation, entity, and attributes selected in the Batch Request Builder dialog box on the General tab.
The input schema has as many number of operations as were configured using the Batch Request Builder dialog box and the order of the operations is maintained as seen in the dialog box.
Output
On the Output tab, the corresponding entity IDs for the operations in the batch are returned. The output varies depending on the type of operations and entities.
The output schema has as many number of operations as were configured using the Batch Request Builder dialog box and the order of the operations is maintained as seen in the dialog box.
Fault
The error code and error message of the Execute Batch Operations REST activity are displayed on the Fault tab. See Error Codes for a more detailed explanation of errors.
The following table lists error schema elements on the Fault tab of the Execute Batch Operation REST activity:
Error Schema Element | Data Type | Description |
---|---|---|
message | String | The error message returned by the plug-in. |
messageCode | String | The error code returned by the plug-in. |