Satyaki Bose1
ServiceNow Employee
ServiceNow Employee
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
1 Comment