zia

How to Automatically Open Zia Bot for Requesters in ServiceDesk Plus


Overview

This guide explains how to configure ServiceDesk Plus to automatically open the Zia Bot for requesters upon login using the Page Script feature.

Steps to Configure

1. Navigate to Page Scripts

  1. Log in to ServiceDesk Plus as an administrator.
  2. Go to Admin > Page Scripts.

2. Create a New Script Rule

  1. Click Add New Script.
  2. Enter the following details:
    • Rule Name: Zia BOT - Default Open
    • Applies To: Select Requesters
    • Event: Set to All

3. Add the Script

  1. Under Actions, select Execute Script.

  2. Add the following JavaScript code in the script editor:

    Quote
    setTimeout(function() { if (window.location.href.includes("HomePage.do")) { jQuery('#ziabot_icon').trigger('click'); } }, 2000);
  3. Click Save to apply the changes.

4. Verify the Configuration

  1. Log in as a requester.
  2. The Zia Bot should open automatically.

Troubleshooting

  • Adjust the delay in setTimeout if the page takes longer to load.
  • Check the browser console for any script errors (F12 → Console tab).

Would you like me to format it differently or add more details? 🚀

                  New to ADSelfService Plus?