ApplyRecordCreationAndUpdateRuleRequest Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Contains data to apply record creation and update rules to activities in CRM created as a result of the integration with external applications.

For the Web API use the ApplyRecordCreationAndUpdateRule Action.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

System.Object
  Microsoft.Xrm.Sdk.OrganizationRequest
    Microsoft.Crm.Sdk.Messages.ApplyRecordCreationAndUpdateRuleRequest

[DataContractAttribute(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class ApplyRecordCreationAndUpdateRuleRequest : OrganizationRequest

NameDescription
System_CAPS_pubmethodApplyRecordCreationAndUpdateRuleRequest()

Initializes a new instance of the ApplyRecordCreationAndUpdateRuleRequest class.

NameDescription
System_CAPS_pubpropertyExtensionData

Gets or sets the structure that contains extra data. Optional.(Inherited from OrganizationRequest.)

System_CAPS_pubpropertyItem[String]

Gets or sets the indexer for the Parameters collection.(Inherited from OrganizationRequest.)

System_CAPS_pubpropertyParameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest.)

System_CAPS_pubpropertyRequestId

Gets or sets the ID of an asynchronous operation (system job). Optional. (Inherited from OrganizationRequest.)

System_CAPS_pubpropertyRequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest.)

System_CAPS_pubpropertyTarget

Gets or sets the target for applying the rule.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Message Availability

For this message to work, the caller must be connected to the server.

Usage

Pass an instance of this class to the Execute method, which returns an instance of the ApplyRecordCreationAndUpdateRuleResponse class.

Privileges and Access Rights

To perform this action, the caller must have privileges on the activity, QueueItem and Workflow entities, and access rights on the specified record in the Target property. For a complete list of the required privileges, see ApplyRecordCreationAndUpdateRule message privileges.

Notes to Callers

The record creation and update rules in CRM enable you to automatically convert incoming activities, such as emails, custom activities, and posts, from external integrated applications (mobile applications, portals or social channels) to system or custom records in CRM. These rules can be created or edited using the web client or Microsoft Dynamics CRM for Outlook only; rule creation and update is not supported through SDK. More information: Help & Training: Automatically create records in CRM

Use the ApplyRecordCreationAndUpdateRuleRequest message to retroactively apply a record creation and update rule to the activity that got created in CRM while the rule was inactive. To edit a rule, you need to deactivate the rule, edit the rule definition, and then reactivate the rule. While the rule is in inactive stage because its being edited, the activities from the external applications will continue to come into CRM (if you have configured an external application to integrate with CRM), but will not be acted upon as the rule is not active.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Show: