This site is scheduled for a small content update on Thursday, March 28th, between the hours of 8:00am and 12:00pm (noon) Pacific Time (Mar 28 15:00 – Feb 22 19:00 UTC). Access to this site may be slightly delayed during that time.

Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Add actions to the legacy chat window menu

Log in to subscribe to topics and get notified when content changes.

Add actions to the legacy chat window menu

You can create new actions and add them to the chat window menu.

Procedure

  1. Navigate to Social IT > Chat Administration > Actions.
  2. Select an action to edit or click New.
  3. Enter the chat action details and click Update or Submit.

Example

The following example demonstrates how to add a chat action that appears only on windows where the user is a Help Desk Agent. The action appears on the menu as Show User Type and opens a popup window that indicates a current user of queue_agent.

  • Action Name: Show User Type
  • Active: Select the check box.
  • Order: 100
  • Client Show Condition:
    answer = g_chat.getChatType() == 'queue_agent';
  • OnClick Action Script:
    alert('The current user is: ' + g_chat.getChatType());
Chat Action Definition
Window Menu Item
Feedback