Trying to edit the chat action, but changes are not reflecting.

Rajini2
Mega Sage

We have a chat action "Create Incident from Chat" this is not setting up the channel to Chat, it is defaulting to phone. Is this the place to make changes? 

Rajini2_0-1694104812954.png

 

We are trying to create incident from chat. And create a message "INC###### created " within the chat.

chat action.jpg

 

Thanks,

Rajini

 

 

2 REPLIES 2

Shruti
Mega Sage
Mega Sage

Hi,

Try this

g_chat.fire(LiveEvents.WINDOW_CREATE_DOCUMENT,
'incident',
{
caller_id : g_chat.getChatQueueUser(),
contact_type : 'chat',
short_description: g_chat.getProperty('short_description')
}
);

It did not work. I tried uppercase "Chat" lowercase "chat" nothing worked.