Call Scripting in Microsoft CRM 2011 – Workflows Reborn
Microsoft CRM 4 lacks call scripting features and customer especially call center customer will have to buy 3rd party add-ons like TK Dialogues, custom ASPX pages etc. to fulfill this requirement.
However, Microsoft CRM 2011 provides call scripting out of the box using processes. Processes are now used in place of workflows. Microsoft has categorized processes in Workflows and Dialogs. Workflows are same old workflows but dialogs can be utilized in various ways i.e. Call Scripting, Approval Processes, User Feedback Process and many more as CRM 2011 gets introduced in various industry sectors.
In this post, we will discuss processes from two perspectives. One is related to designing a process and other is execution of processes. Processes are located in Settings -> Process Center in navigation pane as shown below:
Microsoft CRM 2011 provides a designer tool for designing processes and this designer tool is very much similar to workflow designer but much more capabilities as compared to workflow designer. Now you have the options to prompt and get user input into process.
For the sake of clarification, lets design a script for call center representative to ask first name and last name of customer whenever takes a call from customer.
This script will be designed to execute on phone call activity as shown in the category attribute.
Now we will add a page and then add two prompt and response steps for first name and last name and one prompt and response step for email.
We have almost designed are very simple Call script that will ask standardize our response when a call is received from customer. It will first ask for first name & last name. Then will ask for customer email address. Here we can specify as many steps as required to implement you call scripting needs and you can utilize the values gathered through this script to send emails. Create records as cases, contacts, activities, service activities etc.
Let’s Activate [published/unpublished is renamed as activated/deactivated] this process and Execute from Phone call activity. You can see from below screen that there are no more clicks involved to create a phone call activity. It’s pretty quick and easy. Thanks Microsoft for this consideration.
Now let’s execute the Call Scripting from phone call start Dialog as shown below:
Select the specific Dialog and click OK.
Click Finish at end of the process to and an email will be created.
and sent to customer upon completion of the process.
Please comment or send your feedback and keep exploring Microsoft CRM 2011.











Nice article Ayaz, I am also working on processes and got struck on how to set the radio button / pick list values for prompt responses. FOr example
1) Prompt –> Contact Gender
2) I want this radio button to be displayed a) Male b) Female
Based on the answer from the caller, end user will set the value as male or female. Thanks for your help
Got it, Need to click the Add button in Define Values. Thanks
Hello Ayaz
Have you tried Start Dialog by using an URL? Does this work for Non CRM users, I mean Is there any way we can Impersonate? Please respond at the earliest. Thanks for your help
Hi Srinath,
As per my investigation, its not possible to trigger this outside CRM. its something that is inside CRM and uses CRM security. and each session of dialog is maintained against the user. I have not yet played a lot with this.
Thanks Ayaz, will play around. Mean while if you find any solution, please help. CHeers
Hi Ayaz,
Did you find out if Dialogs can be exposed to external users (that are not in CRM) or not?
It would be very useful to open these dialogs for self-service style data-entry, surveys, self-help troubleshooting.
Thanks
No they cannt be. They can be executed within CRM interface. Although one can trigger dialogues from ribbon buttons.
Hi Guys,
TKDialogs (the original) has been providing this sort of functionality and much more for some time now.
Check it out.
Hi Ayaz,
What did you place in the To field for the send email step. I cannot seem to place any local values from the process in that field? How do you really get it to send the email to the email address captured by the response step?
Any guidance would be greatly appreciated.
Thanks.
Hey Ayaz,
I’m in the same boat as “aemerine”. How can you use the email response via the dialog for the “TO” field in the email. I can’t tell if it’s just an issue with beta, or if I’m missing something here.
thx
Hi Ayaz,
Greate post.
Regarding aemerine and aferrai comment I had the same and for testing I just added a step before the email step by ‘Creating Contact’ and update it’s ‘First name’ ‘last Name’ and ‘E-mail’ by the process response text and later in the ‘E-mail’ step I set the ‘To’ of the e-mail to ‘Create (Contact)’
The email is logged under the created contact ‘Closed Activities’
Thanks
How to show dialog programatically? instead of clicking into “Run Dialog” button
I simply want to mention I’m beginner to blogging and really loved this blog. Most likely I’m planning to bookmark your blog post . You really come with superb stories. Thank you for revealing your blog site.
The dialog construction and functionality simply doesn’t compare with that provided by call scripting a system such as Keyfax InterView (from Omfax Systems).
Well, its a very comprehensive system for building such dialogs and scripts. This system can utilize whole CRM framework for building complex call script scenarios. What features are you really looking for?
I should have emphasised my difficulty is with construction/maintenance ahead of functionality. With a similar approach to workflow mgmt, whereas short dlgs/wfs may be just fine, developing (and maintain) anything more significant would be quite onerous. See http://dev.touch-base.com/InterView; imagine SUBMIT is a CRM START DIALOG button that launches scripting; what you’ll see are modest-sized script ‘sets’. For voluminous/dynamic scripts, management tools needs to provide re-usability, cross-referencing, searching, audit, reporting etc.
Hi Trevor,
Microsoft has introduced a design tool to develop dialogs quickly and by end users too. These dialogs are XML too but MS has provided a UI on top of it. And i believe in future versions they will provide a way to import xml based dialogs very much similar to import XML based workflows.
The power of dialogs is that you can use the power of CRM plateform.
Best Regards,
Ayaz
Hi Ayaz
Please could you provide a more detailed set of instructions on how to set the “To:” field to an email address that is part of the response text. I can’t find the option described above, I’m sure its just user error.
Thanks
JP
Just add a step before the email step by ‘Creating Contact’ and update it’s ‘First name’ ‘last Name’ and ‘E-mail’ by the process response text and later in the ‘E-mail’ step set the ‘To’ of the e-mail to ‘Create (Contact)’. The email is logged under the created contact ‘Closed Activities’
Thank you for the blog. We have just started with Microsoft Dynamics CRM and I am playing around with the scripting. I’m a fast learning and am fairly good at figuring out technical things but this scripting setup really has me scratching my head… I don’t want anything logged with the script. I just need to build a decision tree structure that provides questions our call center reps will ask based on responses to a previous question. I’m finding this isn’t so easy with this product.
Hi Ayaz,
Thanks for the blog.
I have put a navigation link in the left navigation bar of an entity. I have given a html web resource URL on this link.
Now, in this html webresource, I have referenced my jscript webresource. In this jscript i have mention jquery function which call itself $(function (){}); i have written my logic in this function.
when i put the js file on the onload event of form, it is being called but when i tried to call jscript from the onclick of the navigation link i.e. from the html webresource, it is not called.
It is possible that i havent properly referenced my javascript in the html webresource. Please help me how i reference my javascript in html..
Any help will be highly appreciated.
I read this paragraph completely concerning the comparison of most
up-to-date and previous technologies, it’s remarkable article.
Hi Ayaz, You mentioned a ‘design tool to develop dialogs quickly’; is this a tool outside the standard 2011 UI?
Get hold of a Hawaiian shirt (I bet you’ve got one of these as well. Some people will rely on transferring data between flash drives and their home computers, or sending what they wish to have printed to a proxy, such as Fed – Ex. Since it is an HD radio, it produces clear treble and bass tones, and has static radio reception.
Add garlic, ginger, red bell pepper, and pepper flakes to the pan and cook together a couple of minutes, then add peanut butter and melt it.
A study in the British Medical Journal found a significant connection
between a person”. The irritants in the home that can trigger asthma are a lot; cigarette smoke, perfumes, aerosol sprays, fumes from cleaning products
and paints.