Actions on dialogs

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

This topic describes the actions you can perform on dialogs.

These activities are available as steps in the Microsoft Dynamics 365 Process Designer.

Enables you to define query variables that can be used to query Microsoft Dynamics 365 data. These query variables can either have pre-defined values or can be parameterized so that they accept values at the runtime, and fetch records accordingly.

You can parameterize a query variable by using the Modify Query Variables tab on the Define Query page, and then use the dynamic values section on the query form to associate the prompt and response variables with the query variables.

The query variable defined using the Query Dynamics 365 Data step is available for all the prompts and responses from the point where they have been defined in the dialog definition.

Enables you to perform simple arithmetic (increment, decrement, and multiply) and string (append) operations on the variables and input arguments in dialogs. You can also use the Assign Value step to clear any value that is stored in the variables or input parameters.

You can specify a dialog as a child dialog, and invoke it from within another dialog (parent) by using the Link Child Dialog step in the parent dialog.

Enables you to end a dialog at a particular stage in the dialog flow. This step can be used in any conditional statement where you want a dialog to end at that point based on the response from the user.

The following workflow-related activities can be used for dialogs: Create Record, Update Record, Assign Record, Update Record, Send E-mail, Start Child Workflow, and Change Status.

You can create custom workflow activities to extend the dialogs in Microsoft Dynamics 365. For detailed information about custom workflow activities, see Custom workflow activities (workflow assemblies).

You can start an activated dialog by specifying the URL of the dialog. To do so, you must specify the URL in the following format:

http://CRMServer_Name/Org_Name/cs/dialog/rundialog.aspx?DialogId=DialogID&EntityName=EntityLogicalName&ObjectId=EntityObjectId

Where,

  • CRMServer_Name is the name of your Microsoft Dynamics 365 server.

  • Org_Name is the organization name.

  • DialogID is GUID of the dialog that you want to run.

  • EntityLogicalName is the entity logical name of the primary entity of the dialog that you want to run.

  • EntityObjectId is the GUID of the primary entity record.

A sample URL to start a dialog:

http://crmserver/AdventureWorksCycle/cs/dialog/rundialog.aspx?DialogId=9F53D2D8-AC54-46A6-A190-F23DE6677C65&EntityName=contact&ObjectId=41D1884E-B4B6-DF11-BF5E-00155DB05986

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: