Quick Action generating a Script Evaluation Error when used in chat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I'm working with Advanced Work Assignment and agent chat. We were asked to set up an on hold feature, which is working. I set up a boolean field on sys_cs_conversation, u_chat_on_hold that handles this with updates to the existing script include and scheduled jobs.
I'm working on building a quick action for this now, I'm only trying to pass a message to the current chat indicating the agent is placing the chat on a brief hold. I have it partially working at the moment, in that the agent is able to select the custom quick action and the message is sent to the current chat. However, I'm getting a Script Evaluation error after sending the quick action. I don't see the error referenced in the logs though. There is an "now-textarea.js:491 Uncaught TypeError: Cannot read properties of null (reading 'style')" in the console. It points to this:
This is the set up of my quick action:
Name: On Hold
Command: hold
Table: Interaction
Applies to: Type is Chat
Script: