Microsoft Dynamics CRM 2016 Customization - Second Edition by Nicolae Tarla

Microsoft Dynamics CRM 2016 Customization - Second Edition by Nicolae Tarla

Author:Nicolae Tarla [Tarla, Nicolae]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2016-05-27T04:00:00+00:00


Note

XAML workflows are not supported in Dynamics CRM Online.

While workflows can perform almost the same operations as custom coded plugins, there are certain situations where a workflow is recommended over a plugin. These include situations where the business logic needs to be updated regularly by non-developer users, or when we need the ability to start a process manually.

Workflows can be distributed from one environment to another as part of a custom solution. There are, however, some considerations to be aware of. If your workflows reference specific entity instances, the unique IDs of the entity will differ in a new environment. Dynamics CRM only resolves system user and currency records based on the full name property, while all other entities do not get resolved. For this reason, if you deploy workflows as part of a solution to another environment, you must verify after deployment to make sure all workflows are enabled. Workflows where the above condition is encountered will remain in a Draft state, and will require the user doing the deployment to correct the references and reactivate the workflows.

Just as Dialogs, Workflows are in a Draft state while they are being worked on. Once you are ready to make them available to users, you must activate them. On activation, the workflow subscribes to specific events, and listens for them to be triggered. Once triggered, the workflow creates a new asynchronous operation and adds it to the asynchronous service queue. As such, workflows are running asynchronously.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.