USD – Agent Scripts, close session

Add close session to an agent script

You may decide you’d like a button on an agent script to be able to quickly close the current session. This can be simply done.

The steps are,

  1. Create a close session action
  2. Add an answer to an agent script of “Close Session” and link the close session action to the script.

The close session action would look like this ….

Agent Scrip - Close 1

Notice that the hosted control is set to “Session Tabs” and that the action is “CloseSession”. This action will close the current session.

Note: Something to consider might be the state of any records in the tabs you’ll be closing. If you aren’t using auto save then any unsaved changes will be lost.

The close agent script would look like this …..

Agent Scrip - Close 2

I am making an assumption here that you understand the basics of agent scripts! If not I suggest you refer to one of my earlier posts on agent scripts.

In my example I have an agent script called “Fishing Lake Tasks” and an answer on those tasks called “Close Lake Session”. As I doubt you’ll be working on an application related to fish …. you might have something like “Account Related Tasks” and “Close Account Session”.

Having created and saved the agent script answer navigate to the actions option and add the close session action you created in step one.

Agent Scrip - Close 3

5 thoughts on “USD – Agent Scripts, close session

  1. Pingback: Learning USD | My experiences with Microsoft Dynamics CRM

  2. Pingback: Learning Unified Service Desk | Microsoft Dynamics CRM and Unified Service Desk

  3. Pingback: USD – Agent Scripts Collection | Microsoft Dynamics CRM and Unified Service Desk

  4. Pingback: USD – The Book | Microsoft Dynamics CRM and Unified Service Desk

  5. Pingback: USD – The Book - Microsoft Dynamics CRM Community

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s