Collapsed section in agent workspace form. g_aw.sectionExpanded is not working as expected.

kashyap6
Tera Contributor

Hi All,

There is a requirement where we are supposed to collapse the sections by default. We have used g_aw.sectionExpanded('section_name',false) on load of the form. This collapse the section as expected.

 

kashyap6_0-1667884053378.png

 

However, when we try to save this from agent workspace the whole details tab disappears.


kashyap6_1-1667884124648.png

 

Please help me out if anyone has faced similar issues.

 

@Ankur Bawiskar 
@Omkar7 
Kindly help if you can. Thanks in advance

12 REPLIES 12

Hi @Saurav11 ,

Just checked it again. It is working for agent workspace. I think the issue is with the scoping.

 

Hello,

 

For me it works in both agent workspace as well as CSM, to me it seems there is an issue with the custom workspace you have built where there may be a missed configuration or something because of which the code is not running on it.

kashyap6
Tera Contributor

Got an answer from servicenow finally after months:

"Upon further investigation, this issue has been identified via PRB1579561 I will associate the PRB to this case. This fix was made in Tokyo and also to San Diego Patch 8. We can see that instance is currently on San Diego Patch 7."