Workflow vs Dialog Workflows DialogsTriggers are supported for Triggers are not supported forworkflows. dialogs.
Workflow vs Dialog Workflows Dialogs Are synchronous processes, and require userAre asynchronous processes, and do not input to run to completion. When you run theserequire user input to run to completion. These processes, a wizard-like interface is presentedprocesses run in the background. to you so you can make appropriate selections to run the processes.
Workflow vs Dialog Workflows DialogsCan be either started by a user or can be Must be started by a user.automated.
Workflow vs Dialog Workflows DialogsThe entity that stores the details about a The entity that stores information generatedrunning workflow is AsyncOperation. by a running dialog is the ProcessSession (dialog session) entity.
Workflow vs Dialog Workflows DialogsBoth Windows Workflow Foundation 4 and Only Windows Workflow Foundation 4 customWindows Workflow Foundation 3.5 custom activities are supported.activities are supported.
Workflow vs Dialog Workflows DialogsWorkflows that are created or updated outside Dialogs that are created or updated outside ofof Microsoft Dynamics CRM by creating or Microsoft Dynamics CRM by creating orupdating the underlying XAML file are updating the underlying XAML file are notsupported in Microsoft Dynamics CRM supported in Microsoft Dynamics CRM.
What to use workflow or Plugin? Changes in the business logic must be performed by people who are not developers, or the changes should not be dependent on the availability of a developer to do the work. When custom workflow activities are defined as Workflow .NET assemblies, a person who is not a developer can use Microsoft Dynamics CRM to define the conditions when the custom actions are performed and the parameters that will be passed to the assembly.
What to use workflow or Plugin? It is acceptable to have a delay between when the event occurs and when the workflow rule runs. Unless applied manually, workflow rules run asynchronously and run after the event occurs. If you need synchronous processing, use plug-ins
What to use workflow or Plugin? You need the ability to let users apply your workflow logic manually. With workflow processes, users can trigger the processing of workflow rules by clicking Run Workflow on the form or from a grid.
Creating simple workflow?• A few mouse clicks!• Understanding of CRM entities• A bit logical brain processes• Stupid users? You will be confused.
Simple workflow createdOh my god! What is this?Disgusting SQL queries causes performanceloose!
Simple workflow created 2• Complex issues should be done with hands• Thoughts about plugins should be present
Performance tipLong processes should be done with workflow!
Why not to use only workflows?FlexibilityYou do what you want as you wantSpecial needs(e.g. integration with another service)