22
MS Dynamics CRM 2011 What is it all about? CRM customers relationship management

Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Embed Size (px)

Citation preview

Page 1: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

MS Dynamics CRM 2011

What is it all about?

CRM – customers relationship management

Page 2: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

How it looks like?

Page 3: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

How it looks in Outlook?

Page 4: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

How it works?

Page 5: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Workflow vs DialogWorkflows Dialogs

Triggers are supported for workflows.

Triggers are not supported for dialogs.

Page 6: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Workflow vs Dialog

Workflows Dialogs

Are asynchronous processes, and do not require user input to run to completion. These processes run in the background.

Are synchronous processes, and require user input to run to completion. When you run these processes, a wizard-like interface is presented to you so you can make appropriate selections to run the processes.

Page 7: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Development tip

To add some button on ribbon you will need to customize XML & Javascript

Page 8: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Workflow vs Dialog

Workflows Dialogs

Can be either started by a user or can be automated.

Must be started by a user.

Page 9: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Workflow vs Dialog

Workflows Dialogs

The entity that stores the details about a running workflow is AsyncOperation.

The entity that stores information generated by a running dialog is the ProcessSession(dialog session) entity.

Page 10: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Workflow vs Dialog

Workflows Dialogs

Both Windows Workflow Foundation 4 and Windows Workflow Foundation 3.5 custom activities are supported.

Only Windows Workflow Foundation 4 custom activities are supported.

Page 11: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Workflow vs Dialog

Workflows Dialogs

Workflows that are created or updated outside

of Microsoft Dynamics CRM by creating or

updating the underlying XAML file are

supported in Microsoft Dynamics CRM

Dialogs that are created or updated outside of Microsoft Dynamics CRM by creating or updating the underlying XAML file are not supported in Microsoft Dynamics CRM.

Page 12: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Workflow Architecture

Page 13: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Workflow states

• Ready

• Suspended

• Locked

• Completed

Page 14: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

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.

Page 15: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

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

Page 16: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

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.

Page 17: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Creating simple workflow?

• A few mouse clicks!

• Understanding of CRM entities

• A bit logical brain processes

• Stupid users? You will be confused.

Page 18: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Simple workflow created

Oh my god! What is this?

Disgusting SQL queries causes performance loose!

Page 19: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Simple workflow created 2

• Complex issues should be done with hands

• Thoughts about plugins should be present

Page 20: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Performance tip

Long processes should be done with workflow!

Page 21: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

Why not to use only workflows?

Flexibility

You do what you want as you want

Special needs(e.g. integration with another service)

Page 22: Microsoft Dynamics CRM Overview by Anatoly Kvasnikov

THE END