Create the Preview icon for the Incident list view. Default view when viewing the incident

NehaPateriaSNOW
Mega Contributor

Dear Members,

 

My requirement is: -

 

In the Preview icon of the Incident list, the 'On hold reason' field should be displayed only when the 'Status' is "On Hold".  The Default view should be displayed when the Incident record is opened from the Incident list. The Default view should also show the 'On hold reason' field only when the 'Status' is "On Hold". 

 

Please suggest.

 

Thanks,

Neha

5 REPLIES 5

Tanushree Maiti
Kilo Patron

Hi @NehaPateriaSNOW 

This requirement is not feasible. 

The UI policy or client script does not execute on any view including sys_popup view.

By utilizing view rules, you cannot control the visibility of view lists in the form or list context menu.

 

So when the state is set to “On hold,” you can configure which fields are  needed to display in that view.

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Hi @Tanushree Maiti ,

May I know why the requirement is not feasible and in what ways? Have you ever applied the "View Rules"? Please research.

Ankur Bawiskar
Tera Patron

@NehaPateriaSNOW 

looks like a similar question to this

On hold reason will popup on sys_view when state is on Hod 

UI policy or client scripts doesn't run on sys_popup view but they run on all other views and this is platform behavior

So your requirement is not feasible

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Hi @Ankur Bawiskar ,

 

I have not mentioned that I am using the UI Policy or Client Script to fulfill my requirement. I have already gone through these posts. There is a functionality in ServiceNow called "View Rule" which may fulfill the requirement. Kindly research.