Step 3: Create an action call to display the notification 

Omnichannel for Customer Service offers a suite of capabilities that extend the power of Dynamics 365 Customer Service Enterprise to enable organizations to instantly connect and engage with their customers across digital messaging channels. An additional license is required to access Omnichannel for Customer Service. For more information, see the Dynamics 365 Customer Service pricing overview and Dynamics 365 Customer Service pricing plan pages.

Prerequisites

Create action calls

  1. Sign in to the Dynamics 365 instance.

  2. Select the Down arrow next to Dynamics 365.

  3. Select Unified Service Desk Administrator.

  4. Select Action Calls and select + New

  5. On the page for the new action call, specify the following details. 

Tab   Field  Value 
General Name  Show Session Assignment Toast Notification
General Order  10 
General Hosted Control  Omnichannel Toast Notification
General Action  Show
General Data  formname=ToastNotification
top=85
left=82
timeout=7
stack=true
stackHeight=56
placementmode=absolute
ToastNotificationText=[[$Resources.SessionAssignmentToastNotification]+]
NotificationIcon=new_omni_toast_tick_icon 
Advanced Condition [[$GlobalDictionary.CurrentSessionCount]+] >= [[$Global.maxNumberOfSessions]+] && '[[CanActivateSession]+]' != 'True'
  1. Save the action call.

  2. Repeat steps 4 through 6 to create the following additional action calls.

Show Session Error Toast Notification

Tab Field Value
General Name Show Session Error Toast Notification
General Order 10
General Hosted Control Omnichannel Toast Notification
General Action Show
General Data formname=ToastNotification
top=85
left=82
timeout=7
stack=true
stackHeight=56
placementmode=absolute
ToastNotificationText=To open this incoming conversation in a session, close an existing session.
NotificationIcon=new_omni_toast_error_icon
Advanced Condition [[$GlobalDictionary.CurrentSessionCount]+] >= [[$Global.maxNumberOfSessions]+] && '[[CanActivateSession]+]' != 'True'

See also