Settings

Workflow customizations

Part 8 of "11 things to know about customization"

Published Date : January 1, 2008

The goal of customizing Microsoft Dynamics CRM is to tailor the application to fit your business. Although workflows are not located in the area where other customizations are applied, they represent a way to perform automation that would otherwise require a significant amount of development work. Always consider whether a customization objective can be achieved by using workflow when evaluating your options.

Workflows are sets of logical rules that define the steps necessary to automate specific business processes, tasks, or sets of actions to be performed on Microsoft Dynamics CRM records.

You can automate business processes by creating workflows and applying them to records or allowing Microsoft Dynamics CRM to apply them automatically. By using workflows to automate your business processes, you can:

  • Ensure consistency in how records are handled.

  • Ensure consistency in the information that is stored in your organization's Microsoft Dynamics CRM database.

  • Allow people in your organization to focus on growing your business instead of performing repetitive tasks.

If you have the System Administrator or System Customizer security role, you have the necessary permissions to create workflows that can affect records throughout your organization's implementation of Microsoft Dynamics CRM. However, even if you do not have one of these security roles, you can still create workflows that affect the records that you own.

On This Page
Workflow structure Workflow structure
Three ways to create workflows Three ways to create workflows
Creating workflows by using the Web application Creating workflows by using the Web application

Workflow structure

All workflows in Microsoft Dynamics CRM are a combination of workflow properties and workflow logic. Workflow properties and workflow logic form the structure of each workflow record.

Workflow properties

Workflows include a number of options and settings that are required as part of any workflow in Microsoft Dynamics CRM.

At a minimum, each workflow requires the following properties:

  • Name: A descriptive name makes it easier to find the right workflow.

  • Entity: Although a workflow can take action on more than one entity, it is still associated with a single primary entity.

  • Scope: A workflow's scope determines the records that the workflow can take action on. The scope is limited by the permissions that the workflow's owner has, as well as by the access level the owner selects for the scope when they are creating the workflow.

    Scope options are:

    • Organization

    • Parent:Child Business Units

    • Business Unit

    • User

  • Type: You can select whether the workflow you create is a workflow or workflow template. A workflow template is a type of workflow that serves exclusively as the basis for creating other workflows. Workflow templates cannot start workflow jobs.

  • How automatic workflows are started: You can specify what events in your Microsoft Dynamics CRM implementation will cause the workflow to take action, such as the creation of a new lead record or a specific change to a case record.

    Available events are:

    • When a record is created.

    • When the status of a record changes, such as when it is closed or deactivated.

    • When a record is assigned to someone else.

    • When a specified field in the record changes.

    • When a record is deleted.

  • Availability: In addition to workflows that run automatically when certain events occur, you make the workflow available as an on-demand workflow, a child workflow, or both:

    • An on-demand workflow is a type of workflow that runs only when a user chooses to apply it to records from a toolbar or menu in Microsoft Dynamics CRM.

    • A child workflow is a type of workflow that runs only when started by another workflow. It is contained within a parent workflow and cannot be run on its own.

Workflow logic

The workflow logic you add to your workflow determines the specific actions that the workflow will take on records.

Workflow logic includes the following elements:

Top of page

Three ways to create workflows

There are three ways that you can add workflows to your implementation of Microsoft Dynamics CRM:

Top of page

Creating workflows by using the Web application

There are four basic steps to creating a workflow by using the Web application:

  1. Create an empty workflow or use a workflow template to create the workflow.

  2. Specify the workflow properties.

  3. Add conditions, workflow actions, and other elements that define your workflow logic.

  4. Publish the workflow.

For detailed step-by-step instructions to create workflows, see "Create or edit a workflow" in the Help topic, "Work with Workflows".

Related Links

Did you find the information that you need?
Yes     No 
If not, what information do you need? (optional)

© 2008 Microsoft Corporation. All rights reserved.