Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Unified service desk : Close particular session from multiple sessions

Posted on by Microsoft Employee

Hello,

I am facing the following issue,

The agent is doing chat & handling three customers e.g Kim, David & John.Three sessions opened each for the customer on USD. David left the chat, I am able to raise the event in USD but unable to close David's session dynamically. or How can I iterate all opened USD sessions in the script so that I can get more control & perform particular tasks?

The pop up on right side come when the chat ends i-e customer customer left.

Any Ideas,

CloseSessionForChat.png

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Unified service desk : Close particular session from multiple sessions

    Tested with USD version '2.2.0.755' but didn't work at all however when tested using version '3.0.0.859' did the job.

  • Suggested answer
    PranavShroti Profile Picture
    PranavShroti 4,510 on at
    RE: Unified service desk : Close particular session from multiple sessions

    Hi Since you have already captured the close chat event, you can write a simple script to close the current tab also.

    check out the article

    neilparkhurst.com/.../usd-close-all-sessions

    If found useful, please mark the answer as verified

    Regards,

    Pranav

  • Suggested answer
    Kaustubh Hegde Profile Picture
    Kaustubh Hegde 330 on at
    RE: Unified service desk : Close particular session from multiple sessions

    Not sure on how you are calling the event, but are you able to get the SessionID of David's session there?

    If you are able to get the SessionId then follow below steps to Close that particular session

    1. Create an Action as displayed in the screenshot below. Replace the "<<GUID of the Session you want to close>>" with the sessionid of session you want to close.

    USD-Close-Session.PNG

    2. You can add this action in your event.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans