Home > USD > Create an Incoming Phone Call Activity when a Call received from CTI – USD

Create an Incoming Phone Call Activity when a Call received from CTI – USD

In one of our requirement, we had to create a new “Incoming Phone Call” activity against the calling ‘Contact’, whenever a call received.

USD - Incoming Phone Call Created

USD – Incoming Phone Call Created

In this article, I am using “CTI Simulator” (Download) to generate an incoming call.

Refer MSDN article contains a Walkthrough on how to

  • Catch the phone call (Triggered from Simulator)
  • Search ‘Contacts’ in CRM with the ‘Phone number’
  • If match found, open the ‘Contact’ in USD.

Open Calling Contact Record in USD

  • In USD configurations in CRM, create a “Windows Navigation Rule”, to open a ‘Contact’ record, if there is a Contact with incoming phone number.

USD - Nav Rule To Open Contact On Incoming Call

  • In the Action Call “Show tab for Contact”, we set focus on ‘Contact’ which was opened in USD.
USD - Focus on Contact Tab

USD – Focus on Contact Tab

Create Phone Call Activity

  • Now coming back to our requirement, we need to create an “Incoming Phone Call” for the matched ‘Contact’, which got opened in USD.
  • To achieve this, create a Sub Action Call “AC Create Contact Inbound Phone call”, under “Show tab for Contact”.
USD - Sub Action Call To Create Phone Call

USD – Sub Action Call To Create Phone Call

  • In “AC Create Contact Inbound Phone call”, define a “CreateAction” to create “Phone Call” copying information from “Contact”.
USD - Create Phone Call

USD – Create Phone Call

  • Data:

LogicalName=phonecall
directioncode=Boolean(false)
subject=Inbound Phonecall to [[$User.fullname]]
from=PartyList(er[“contact”,[[contact.Id]+]])
to=PartyList(er[“systemuser”,[[$User.systemuserid]+g]])
phonenumber=[[cti.phonenumber]]
regardingobjectid=EntityReference(contact,[[contact.Id]])

  • The ‘AC Create Contact Inbound Phone call‘ action call triggers after ‘Show tab for Contact‘ and a new ‘Phone Call’ gets created.
USD - Created Incoming Phone Call

USD – Created Incoming Phone Call

🙂

Advertisement
Categories: USD Tags: , ,
  1. fahd
    May 5, 2017 at 4:39 AM

    Hello,
    This a great tutorial but it doesn’t work for me , in the debugger the action doesn’t work because he don’t know the contact also the systemuser.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: