Actions REST
The Actions REST activity helps to call actions using the Customer Engagement Web API and perform operations in the Microsoft Dynamics CRM server.
You can call bound and unbound actions on the Microsoft Dynamics CRM server. You can also use custom bound and unbound actions. For more information on actions, see the Dynamics 365 Customer Engagement Web API Action Reference documentation.
General
On the General tab, you can establish a connection to the Microsoft Dynamics CRM server, and specify the type of action you want to call.
The following table lists the configurations on the General tab of the Actions REST Entity 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
|
Dynamics CRM Action | No | Specify the action to be called.
Click Fetch Action to open the Action Selection dialog that contains all the available actions. Select an action from the list and click OK. The selected action is automatically specified in this field. (In the Action Selection dialog, if required, click Refresh List to retrieve the latest list of actions and entity metadata from the server.) |
Entity for Bound Action | No | Specify the entity to be bound with an action.
Note: This field is displayed only if you select a bound action in the
Action Selection dialog Select the entity to be bound with the action from the Entity for Bound Action drop-down list. |
Build Schema | No |
Click Build Schema to generate input and output schema for the Actions REST Entity activity. If there are no entity types in the parameters/return type, then the input and output schema are formed automatically. Otherwise, the Action Build Schema Configuration dialog opens.
Note: Build Schema is visible when the user selects valid Dynamics CRM Action from the Fetch Action dialog.
|
CRMBaseEntity Params | No |
You can select either the collection or noncollection type of crmbaseentities present in input params/output return types for an Action from an Actions activity. Note: This field is only displayed if you select the action that has crmbaseentity params/return type from the
Actions Selection dialog.
|
Description
On the Description tab, enter a short description for the Actions REST activity.
Input
The input of this activity varies depending on the action selected when configuring the General tab. If the action is bound, the input also varies depending on the entity that the action is bound to. For more information on the action input, see theDynamics 365 Customer Engagement Web API Action Reference documentation.
Output
The output of this activity varies depending on the action selected when configuring the General tab. If the action is bound, the output also varies depending on the entity that the action is bound to. For more information on the action output, see the Dynamics 365 Customer Engagement Web API Action Reference documentation.
Fault
The Fault tab displays the error code and error message of the Actions REST activity. See Error Codes for a more detailed explanation of errors.
The following table lists error schema elements on the Fault tab of the Actions 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. |