- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2026 06:59 AM
Hello,
I have issues with custom View Rules. What I want to achieve is to apply a custom view for Emergency Changes - both existing records and when creating new records.
First, I tried with one view rule (see the screenshot), but no luck - the rules was applied either always (when Match conditions = Any) or never (when Match conditions = All).
I also tried to create two separate view rules:
-> One with condition: Model is Emergency
-> Second one with condition : Model is Emergency & Created is Empty.
The result is: works for existing records, does NOT work for new records.
Any help is appreciated.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2026 05:48 AM
At the end, I ended up scripting an advanced view rule for the new records and a standard one with condition:
"Model is Emergency" for the existing records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2026 07:51 AM
view rules do not apply to a new, unsaved record.......because the evaluation engine treats all fields as empty for a new record and won’t run the view rule until the record is saved......so your rule for emergency will work on existing change records.....but won’t trigger on the new form since emergency isn’t yet stored and the system doesn’t evaluate the condition until after the first save.......
If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.
Kaushal Kumar Jha - ServiceNow Technical Consultant/Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2026 12:55 AM
I am not sure that's exactly true because if I create a view rule as on the screenshot, I see that when I create a new emergency CR, the view is applied.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2026 01:14 AM
HI @Vasil Vasilev ,
Have you tried navigation handler? Please check this URL & try.
Let me know if you need more help.
If my answer helped then please mark it helpful & accept this solution.
Thanks,
Utpal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2026 05:47 AM
Hi @Utpal Dutta ,
Thanks for that suggestion, it's really useful, I didn't know about the navigation handlers.
However, I was hoping to avoid scripting, but in this case I couldn't. So I ended up scripting an advanced view rule.
Cheers,
Vasil
