Popup dialog to Close Tab only appears when Type is selected in CSM Workspace

bmendez0428
Tera Contributor

Hey, I am pretty new to CSM. I noticed there was an issue of my Close Dialog only appearing when Chat is selected as my type on my form. This only happens when I exit out the record. Any idea to where I can fix this one small issue? I want the Close Dialog to appear every time I decide to close the record no matter what type. 

 

find_real_file.png

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hi @bmendez ,

Try g_modal.confirm in workspace client script .

How?

Try this page to learn: https://www.ashleysn.com/post/workspace-ui-actions

Example:-

https://community.servicenow.com/community?id=community_question&sys_id=21a5c6a0db2aa410da1999ead396199d

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

View solution in original post

2 REPLIES 2

Community Alums
Not applicable

Hi @bmendez ,

Try g_modal.confirm in workspace client script .

How?

Try this page to learn: https://www.ashleysn.com/post/workspace-ui-actions

Example:-

https://community.servicenow.com/community?id=community_question&sys_id=21a5c6a0db2aa410da1999ead396199d

 

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep

Rathna Chengalv
Tera Contributor

In our case, type is chat but still close confirmation popup is not coming in workspace, this is aborting on going chats if clicked by mistake. Any suggestion and idea what went wrong .. ?