Ana səhifə

2011 Administrator’s Guide Copyright


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

Work with dialogs


You can use dialogs to create processes that combine interactive scripts with workflow logic steps.

Create a dialog



Add or change dynamic values in a dialog

Activate or deactivate a dialog

Assign a process to another user

Assign a process to yourself

Share a process with other users



Start a dialog

What else can I do? More tasks...



Start a dialog


If you or your organization have created dialogs, you can start a dialog for records that appear in a list.

Concepts:



  • Creating and using dialogs

Can I do this task?

This task requires permissions that are found in all default security roles. More information about specific permissions and performing this task while offline: Common Task Permissions



  1. Open the list of records that contains the record for which you want to start a dialog, such as leads or cases.

  2. Select the record on which you want to run a dialog.

  3. In the Process group, click Start Dialog.

  4. In the Look Up Record dialog box, select the dialog that you want to run, and then click OK.

  5. In the confirmation message, click OK.

Notes

  • A dialog cannot be started on multiple records.

  • The Start Dialog button may not be available if you do not have permission to run dialogs for the record listed.

In the Look Up Record dialog box, you will see only dialogs that you own or have been given permissions to use.

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 Create Process dialog box, set required properties for the dialog.

  1. In the Process name box, type the name that you want to use for this dialog.

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

  1. From the Category list, select Dialog.

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

If you want to view details about a process template, select the process template, and then click Properties.

  1. Click OK.

  1. In the Process Properties area, set additional properties for the dialog.

  1. If you plan to publish this dialog to use for your business processes, from the Activate As list, select Process.

- OR -

If you plan to publish this dialog as a process template, from the Activate As list, select Process template.



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

  • As an on-demand process. If you want to be able to start the dialog manually for a specified entity as an on-demand process, select this check box.

  • As a child process. If you want use the dialog as a child dialog, which means that it starts only when it is triggered within another dialog, select this check box.

  1. Add input arguments to your dialog.

You can use input arguments to pass data into a dialog that will be used as a child dialog.

  1. In the Input Arguments section, click Add to open the Add or Modify Properties dialog box.

  1. In the Name field, type a unique name for the input argument. This name is the identifier for the input argument and it should be clear enough to enable you to identify it later when you want to use it in a dialog.

  1. From the Data type list, select the data type for the input argument:

  • Text is an alphanumeric value.

  • Integer is a numeric value.

  • Float is a floating-point numeric value.

  1. In the Default Value field, enter a default value for the input argument. The default value must match the data type you selected.

  2. To save your changes and close the dialog box, click OK.

  1. Add variables to your dialog.

You can add variables to store data within a dialog for use later. For example, to insert data in fields for workflow activities that occur within the dialog:

  1. In the Variables section, click Add to open the Add or Modify Properties dialog box.

  1. In the Name box, type a unique name for the variable. This name is the identifier for the variable and it should be clear enough to enable you to identify it later when you want to use it in a dialog.

  1. From the Data type list, select the data type for the input argument:

  • Text is an alphanumeric value.

  • Integer is a numeric value.

  • Float is a floating-point numeric value.

  1. In the Default Value box, type a default value for the variable. The value must match the data type you selected.

  2. To save your changes and close the dialog box, click OK.

Notes

  • Variables in dialogs have a global scope and can be accessed for any step in your dialog.

  • You can use variables as data slugs in the workflow logic for different action steps in your dialog.

  • You can use variables to maintain a running counter for determining a score based on responses in prompt and response steps.

  • You can use variables for computational values that can be used in a dialog by using the assign value step.

  1. Add stages to your dialog.

In the Process Logic area in the lower half of the Process form, you can add stages to your dialog

  1. Under Steps, click where you want to add the stage.

  1. On the Process Logic toolbar, click Add Step and select Stage.

  2. Click OK.

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

Note: If you add a stage to a dialog, then all steps and pages must be contained within a stage. If necessary, Microsoft Dynamics CRM will organize steps that already exist into a stage when you add a new stage.

  1. Add pages to your dialog.

You must add at least one page to a dialog. Pages contain the prompt and response steps that make up the basic structure of a dialog.

  1. Under Steps, click where you want to add the page.

  1. On the Process Logic toolbar, click Add Step and select Page.

  2. Click Type a description here and replace the default text with a description of the page.

  1. Add prompt and response steps to your dialog.

You must add at least one prompt and response step to a page your dialog.

  1. Select the line in your dialog page where you want to add the prompt and response step.

  1. On the Process Logic toolbar, click Add Step and select Prompt and Response.

  2. Under Steps, click Set Properties.

  3. In the Define Prompt and Response dialog box, in the Prompt Details section, type the text the user sees when they use the dialog.

  1. In the Prompt Text box, type a question or instructions for the prompt.

  2. In the Tip Text box, type an optional tip to help clarify the prompt.

  1. In the Response Details section, set the details for the response.

  1. From the Response Type list, select a response type.

  • Select None to have a prompt that allows no response. A prompt with no response may be an instruction to take some external action, such as calling a contact, before proceeding to the next prompt.

  • Select Single Line to provide a response that consists of a single line of text with no more than 255 characters, including spaces.

  • Select Option Set (radio buttons) to provide a specified set of responses that are displayed as radio buttons in the dialog.

  • Select Option Set (picklist) to provide a specified set of responses that are available from a picklist in the dialog.

  • Select Multiple Lines of Text (Text Only) to provide a response that consists of multiple lines of text with no more than 255 characters, including spaces.

  1. From the Data type list, select a data type for the response.

  • Text is an alphanumeric value.

  • Integer is a numeric value.

  • Float is a floating-point numeric value.

  1. If you selected Single Line or Multiple Lines (Text Only) as the response type, type a default value in the Default Value box, and then, next to Log Response, select whether or not to log the response so that it can be used in another place in the dialog.

  2. If you selected Option Set (radio buttons) or Option Set (picklist) as the response type, for Provide Values, select how you will provide values for the response.

  • Define Values enables you to define your own values to the response.

  • Query CRM Data enables you to provide values from a record in Microsoft Dynamics CRM.

  1. Click Save and Close.

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

  1. Add steps to your dialog.

In the Process Logic area in the lower half of the Process form, you can add a check condition step to your dialog. This step checks the data in the entity where you are running the dialog and performs an assigned action.

  1. Under Steps, click where you want to add the check condition step.

  1. On the Process Logic toolbar, click Add Step, and then select Check Condition. 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 assign 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 If dialog box. 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.

  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. In the Process Logic area, click Type a step description here and replace the default text with a description of what your check condition step includes.

  1. Add actions to your dialog.

In the Process Logic area in the lower half of the Process form, you can add actions to your dialog.

  1. Under Steps, click where you want to add an action.

  1. On the Process Logic toolbar, click Add Step, and then select one of the following items:

  • Query CRM Data. Queries a Microsoft Dynamics CRM record to return specified data.

  • Assign Value. Assigns a specified value to a variable or input argument that you have set up for the dialog.

  • 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.

  • Link Child Dialog. Starts a child dialog. From the Link Child Dialog list, select the primary entity of the child dialog you want to use, and then click the Lookup button and select the child dialog.

Note: A link to a child dialog is the last action or step you should have in a dialog. When the dialog runs, the link to a child dialog takes you away from the parent dialog and you can't return to it. Any steps that follow the link to a child dialog will be ignored.

  • 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 Dialog. Stops the current dialog. From the Stop workflow with status of list, select the status that you want to set for the stopped dialog.

  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 dialog is taking action on.

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

  1. Click Save or Save and Close.


Can I do this task?

This task requires permissions that are found in all default security roles. Customization tasks can be performed only while you are online. More information: Customization Permissions

You can use dynamic values in the entities or records that you use in a dialog, as well as in the conditions in the workflow logic you include in your dialog.


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

  2. Open the dialog that includes fields where you want to use dynamic values.

  3. If you want to add dynamic values to fields in a condition, open the condition that includes the fields.

- OR -

If you want to add dynamic values to fields in an entity or record that a workflow action uses, click Set Properties for that entity or record.



  1. If the Form Assistant pane is not displayed, click the Expand button .

  2. Click the field where you want to insert a dynamic value.

  3. Under Dynamic Values in the Form Assistant pane, from the Operator list, select a logical operator.

  4. From the first list under Look for, select the entity or record that includes the attributes you want to insert as dynamic values.

  5. From the second list under Look for, select the specific attribute you want to insert, and then click Add.

  6. If you want Microsoft Dynamics CRM to insert alternative attribute values in cases when the attribute you specified in steps 4 through 6 is empty, repeat these steps to add additional attributes, and then use the Move Up and Move Down buttons to arrange the attributes in the order that you want Microsoft Dynamics CRM to evaluate them.

  7. If you want Microsoft Dynamics CRM to insert static text when none of the attributes you have specified contain any data, in the Default text box, type the text that you want Microsoft Dynamics CRM to display instead of a dynamic value.

  8. Click OK.

The dynamic values appear as yellow boxes in the field where you inserted them.

  1. In the form for the entity, record, or conditions used in your workflow, click Save and Close.

  2. In the Process Logic area, click Save or Save and Close.

Note

You cannot edit dynamic values that you have already inserted in a field. To change a dynamic value, you must remove the old value and add a new one. Select the yellow box in the field for the value you want to change, press the Delete key on your keyboard, and then add the dynamic value you want to use in its place.


Related Topics


Work with Workflows 116

Specify Workflow Condition Form 121

Creating and Using Workflows 113

Workflow Lifecycle 113



Can I do this task?

This task requires permissions that are found in all default security roles. Customization tasks can be performed only while you are online. More information: Customization Permissions

Activating a dialog makes it available to use as an on-demand process or child process. You cannot use unactivated dialogs that are in a draft state.


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

  2. Select the dialog that you want to activate or deactivate.

  3. To activate a dialog, on the Actions toolbar, click Activate.

- OR -

To deactivate a dialog, on the Actions toolbar, click Deactivate.



  1. In the confirmation message, click OK.

Note

Dialogs cannot be started automatically.



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