How to create the "is dynamic" filter on a field

F_bio Santos
Kilo Sage

Hi everyone, Im trying to make a filter with a custom field I created named "Process Managers", I wanted to use the "is dynamic" filter in this field but it does not appear in the field list, is there anyway to create the "is dynamic" filter is a custom field ?

Field:

F_bioSantos_0-1695140388307.png

Filters that appear in the field:

F_bioSantos_1-1695140496020.png

(I wanted the "Is dynamic" filter to appear to do somethink like "("Process Managers" > is dynamic > me)")

 

1 ACCEPTED SOLUTION

Prashant Ahire
Kilo Sage

Hello @F_bio Santos , 
- Note: is Dynamic is only available if the field referenced to the sys_user table.

Solution: Use reference qualifier  javascript: 'process_managers=' + gs.getUserID();

 

Please mark my solution correct or helpful, if applicable.

 

Thanks & Regards,

Prashant Ahire



View solution in original post

4 REPLIES 4

hi @Mike Patel I think that this only allows me to add options to the "is dynamic" but I want to be abble to choose the "is dynamic" when Im doing a filter with the "Process Managers" field

Sayali Gurav
Tera Guru
Tera Guru

Hello @F_bio Santos ,

To create an "is dynamic" filter on a field in ServiceNow, you'll need to follow these steps:

  • Login to ServiceNow Instance: Open your ServiceNow instance and log in with appropriate credentials.
  • Open the List View: Navigate to the module or application where the list view exists. For example, if you're working with incidents, go to the Incident application.
  • Open the List You Want to Add the Filter To: Click on the list that you want to add the dynamic filter to (e.g., 'All' or a custom list).
  • Open List Control: Click on the funnel icon or the 'Filter' option to open the list control. This is where you can add and manage filters.
  • Add a New Filter: Click on 'Add Filter Condition' or the plus sign (+) icon to create a new filter.
  • Select Field and Condition: Choose the field you want to create the dynamic filter for from the available options. Then select the condition. For an "is dynamic" filter, you might be using conditions like 'is', 'is not', 'starts with', etc.
  • Enable Dynamic Filter: After selecting the field and condition, there should be an option to toggle on or enable the dynamic filter. This will allow you to set dynamic values based on certain criteria.
  • Define Dynamic Criteria: Depending on the condition selected, you'll need to specify the dynamic value or criteria. This could be a variable or a reference to another field or record.
  • Save the Filter: Once you've defined the dynamic criteria, save the filter.
  • Test the Filter: Apply the filter to see if it behaves dynamically based on the criteria you've set.

Remember, the exact steps and terminology might vary slightly depending on the version of ServiceNow you are using. If you encounter any difficulties, consult the ServiceNow documentation or community forums for specific guidance based on your instance's version.

 

Please mark my solution correct or helpful, if applicable.

 

Thanks & Regards,

Sayali Gurav

Prashant Ahire
Kilo Sage

Hello @F_bio Santos , 
- Note: is Dynamic is only available if the field referenced to the sys_user table.

Solution: Use reference qualifier  javascript: 'process_managers=' + gs.getUserID();

 

Please mark my solution correct or helpful, if applicable.

 

Thanks & Regards,

Prashant Ahire