Fixed query for left navigation

Jan 5, 2020 1 min read
ServiceNow

This article will tell you about the posibility of setting fixed filter parameters for navigarion module. User is not able bypass such filter.

Goal

Click on “Assigned to me” module from left navigation should only show active incidents opened today. User may add additional filters, but not able to reset initial ones.

Solution

Go to System Definition > Modules and create a new record. Adding &sysparm_fixed_query= in Arguments field will do the trick.

Configure module as follows:

Fixed query - config

This should result into following breadcrumbs when calling the module. See first breadcrumbs are readonly.

Fixed query - breadcrumbs

Compare solution with a standard module configuration:

Standard query - config

All breadcrumbs are clickable:

Standard query - breadcrumbs