Ana səhifə

2011 Administrator’s Guide Copyright


Yüklə 0.73 Mb.
səhifə34/37
tarix18.07.2016
ölçüsü0.73 Mb.
1   ...   29   30   31   32   33   34   35   36   37

Monitor and Manage Workflows


When the conditions defined in an automatic workflow are met, or when you start an on-demand workflow, Microsoft Dynamics CRM creates workflow jobs to perform the actions defined in the workflow logic. You can see the status of in-progress workflow jobs, which workflow jobs have succeeded or failed, and why failed workflow jobs could not be finished.

You can view workflow jobs from three places in Microsoft Dynamics CRM:



  • Workflows. The individual workflow jobs created by a workflow are associated with the workflow that created them.

  • Records. The account, lead, or other Microsoft Dynamics CRM record affected by a workflow lists each of the workflow jobs that have taken action on the record.

  • System jobs. Workflow jobs are a special type of system job. You can view all of the system jobs in Microsoft Dynamics CRM, including workflow jobs, in the Settings area. More information: Work with System Jobs (on page 111)



Work with Workflows


By creating workflows, you can create the business logic necessary to automate some or all of your business processes.

Create or edit a workflow


Can I do this task?

This task requires the System Administrator or System Customizer security role or equivalent permissions. Customization tasks can be performed only while you are online. More information: Customization Permissions



  1. In the Navigation Pane, click Settings, and then under Process Center, click Processes.

  2. On the Actions toolbar, click New.

  3. In the dialog box, set required properties for the workflow.

  1. In the Workflow name box, type the name that you want to use for this workflow.

  2. From the Entity list, select the primary entity that you want to use with this workflow.

  3. In the Type area, select whether you want to create a completely new workflow or whether you want to use a workflow template.

If you want to vew details about the workflow template, select the workflow template and click Properties.

  1. Click OK.

  1. In the area in the top half of the Workflow form, set additional properties for the workflow.

  1. If you plan to publish this workflow to automate your business processes, from the Publish As list, select Workflow.

- OR -

If you plan to publish this workflow as a workflow template, from the Publish As list, select Workflow Template.



  1. Under Available to Run, select how you want to make the workflow available to other users in your organization:

  • On demand. If you want to make the workflow available as an on-demand workflow, select this check box.

  • As a child workflow. If you want to make the workflow available as a child workflow, select this check box.

  1. If you are creating an automatic workflow, under Options for Automatic Workflows, set options unique to workflows that run automatically:

  • Scope. Select the access level that matches the workflow scope that you want to set for this workflow.

Note: The items available to you in this list depend on the privileges that have been assigned to your security role for the workflow's primary entity.

  • Start when. Select the check boxes that correspond to the events in your implementation of Microsoft Dynamics CRM that you want to start the workflow.

Note: If you select the Record attributes change check box, you must click Select and specify the attributes of the primary entity that you want the workflow to monitor for changes.

  1. Add stages to your workflow logic.

In the lower half of the Workflow form, you can add workflow stages to your workflow logic.

  1. Select the line in your workflow logic where you want to add the workflow stage.

  2. On the Workflow Logic toolbar, click Add Step and select Stage.

  3. Click OK.

  4. Click Type a stage description here and replace the default text with a description of what your workflow stage includes.

Note: If you want to add more stages to your workflow, first click the area to the left of the existing workflow stage. Next, click the Insert menu and select whether you want to add the stage above or below the one that you selected. Click Add Step, select Stage, and then click OK.

  1. Add steps to your workflow logic.

In the lower half of the Workflow form, you can add workflow steps to your workflow logic.

Tip: You can repeat these steps to add whatever steps you want to include in your workflow logic.

  1. Select the line in your workflow logic where you want to add the workflow step.

  2. On the Workflow Logic toolbar, click Add Step and select one of the following items:

  • Check Condition. Adds a check condition to the workflow. You can add a check condition at any level in your workflow logic.

After you have added a check condition to your workflow, you can add one or more conditional branches and a default action to the check condition:

  • Conditional Branch. Adds a conditional branch to the workflow. To add a conditional branch, you must select the If line in a check condition or the Otherwise, if line in another conditional branch.

Note that more than six levels of conditional branching are not displayed.

  • Default Action. Adds a default action to the workflow. You can include only one default action associated with a check condition. To add a default action, you must select the If line in a check condition or the Otherwise, if line in a conditional branch.

  • Wait Condition. Adds a wait condition to the workflow. You can add a wait condition at any level in your workflow logic.

After you have added a wait condition to your workflow, you can add one or more parallel wait branches to the wait condition:

  • Parallel Wait Branch. Adds a parallel wait branch to the workflow. To add a parallel wait branch, you must select the Wait until line in a wait condition or the Otherwise, wait until line in another parallel wait branch.

  1. Click condition.

  2. In the Specify Condition dialog box, select the condition for the step:

Tip: After you specify one condition, move your cursor over the area to the right of the condition you just specified. New fields appear, in which you can specify additional details about the condition.

  1. In the first list, select a primary entity or related entity.

  2. In the second list, select a field in the entity you selected in the previous step.

  3. In the third list, select the logical operator that best fits the condition you want to specify, such as Contains or Equals.

  4. In the last lists or boxes, enter the values that you want to use as the criteria for your condition.

  5. Click Save and Close.

Tip: You can specify multiple conditions for a single process step. After you select an entity from the first column, a second line appears, where you can specify another condition. The process considers the conditions to have been met only when an event matches all of the criteria.

  1. On the Workflow form, click Type a step description here and replace the default text with a description of what your workflow step includes.

  1. Add actions to your workflow logic.

In the Workflow Logic area in the lower half of the Workflow form, you can add workflow actions to your workflow logic.

Tip: You can repeat these steps to add whatever actions you want to include in your workflow logic.

  1. Select the line in your workflow logic where you want to add an action.

  2. On the Workflow Logic toolbar, click Add Step and select one of the following items:

  • Create Record. Creates a new record. From the Create list, select the entity for which you want to create individual records.

  • Update Record. Updates a record. From the Update list, select the record that you want to update.

  • Assign Record. Assigns a record from one user to another user. From the Assign list, select the record that you want to reassign, and then click the Lookup button and select the user you want to assign the record to.

  • Send E-mail. Sends an e-mail notification. From the Send e-mail list, select whether you want to create a new e-mail message or use an E-mail Template.

  • Start Child Workflow. Starts a child workflow. From the Start child workflow list, select the primary entity of the child workflow you want to use, and then click the Lookup button and select the child workflow.

  • Change Status. Changes the status of a record. From the first Change status list, select the record that you want to change the status of, and then select the status from the second list.

  • Stop Workflow. Stops the current workflow. From the Stop workflow with status of list, select the status that you want to set for the stopped workflow.

  1. If a Set Properties button appears next to the new action you added, click Set Properties and specify details about the entity that this step in your workflow is taking action on.

  2. Click Type a step description here and replace the default text with a description of what your workflow step includes.

  1. Click Save or Save and Close.

Notes

  • If you use a wait condition to wait for a timeout, you cannot change the timeout condition (you can change individual details for the timeout, but you cannot change the timeout to another type of condition). If you need to change the conditions, delete the timeout and add a new wait condition.

  • If you need to back up workflows, or export them for use in a different implementation of Microsoft Dynamics CRM, you can export them as part of exporting customizations. More information: Export Customizations and Configurations

Related Topics


Work with Workflows 116

Work with System Jobs 111

Creating and Using Workflows 113

Workflow Lifecycle 113





1   ...   29   30   31   32   33   34   35   36   37


Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©atelim.com 2016
rəhbərliyinə müraciət