Issue on SOW Stacked view in incident form

UpendraC
Tera Contributor
 
9 REPLIES 9

There is table called 'sys_activity_supplemental' where we have to put payload '{"incident_compose_stacked_view":false}'. then this will always be in 1 tab[comments,work notes,email]. This is not happening globally for all the users if i remove the empty the field

'User sys ID'. 
 
This has to work like user preference. but not working as expected.

@UpendraC

there is no thumb rule in ServiceNow that says the preferences table needs to be used always.

It's a design decision at platform level.

Workaround:

Before Insert/Update business rule on "sys_activity_supplemental"

Script:

// manipulate the payload and update the flag as false for correct table

Note: When user uses multiple workspaces or table the table name gets appended, so you need to manipulate the JSON payload so that the Stacked view is disabled only for the tables you want and not for all

Example: if user enabled stacked view for 1 table in ABC workspace and disabled stacked view for another table then the JSON payload will look like this

{"tableName1_case_compose_stacked_view":true,"tableName2_compose_stacked_view":false}

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@UpendraC 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

RajuC4227245842
Kilo Contributor

sorry did not understand what are you looking for?

Go to Service operations workspace. Open any incident. In the incident form, right hand side you can able to see compose[Comments] and stacked view. I want that stacked view always disable for all users or hide that stacked view.

 

UpendraC_0-1752485945600.png