Tuesday, August 11, 2015

Perform specialized operations using Update in MS CRM 2015 SP1

this is one of key thing, MS CRM 2015 developers need to note.
"Perform specialized operations using Update MS CRM 2015"
earlier we used to use AssignRequest message to assign a record or change the owner of the record ,SetStateRequest message to change the status of the record etc.
but in MS CRM 2015 SP1 release there is special message "UpdateRequest" for all these specialized operations.

things to consider and know mire details...

1. For Microsoft Dynamics CRM Online organizations, this feature is available only if your organization has updated to Dynamics CRM Online 2015 Update 1. This feature is not available for Dynamics CRM (on-premises). this may come in future for on-premise
2. When update requests are processed that include both owner fields plus other standard fields for business owned entities, plug-ins registered for the Update message in pipeline stage 20 and/or stage 40 execute once for all non-owner fields, and then once for the owner fields. Examples of owner fields would be businessunit and manager (for a SystemUser entity). Examples of business owned entities include SystemUser, BusinessUnit, Equipment, and Team.
3. When update requests are processed that include both state/status fields plus other standard fields, plug-ins registered for the Update message in pipeline stage 20 and/or stage 40 execute once for all non-state/status fields, and then once for the state/status fields.
4. When update requests are processed that include both owner fields plus other standard fields, workflows registered for the Update message execute once for all non-owner fields, and then once for the owner fields. Workflows registered for the Assign message by users continue to be triggered by updates to owner fields.
5. When update requests are processed that include both state/status fields plus other standard fields, workflows registered for the Update message execute once for all non-state/status fields, and then once for the state/status fields. Workflows registered for the Change Status step continue to be triggered by updates to state/status fields.

ref: https://msdn.microsoft.com/en-us/library/dn932124.aspx

Regards,
yes.sudhanshu

No comments:

Post a Comment