Satyaki Bose1
ServiceNow Employee
Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
11-26-2019
08:50 AM
Hi Everyone,
This video is about a platform customization, which allows you to utilize the setRedirect or setRedirectURL API, especially with Connect Chat Actions.
Although, it does not directly involve using the API within the Connect Action, but it does a decent job.
PRB1239916 states that gs.setRedirect(URL) does not work in "Connect Action".
This is an expected platform behavior.
If you include setRedirect or setRedirectURL within Connect Action script, it will not work.
Below are the dependencies included to achieve the desired result.
1. Create a custom table that would relate the chat_queue_entry and the redirect request.
2. Create a onSubmit client script on the custom table to redirect you to the desired page.
3. Create Connect Action that opens a new record in the custom table.
You can also check the Known Error Article here - https://hi.service-now.com/kb_view.do?sysparm_article=KB0721388
Labels:
- 579 Views
1 Comment
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.