How to create a module that filters by dynamic values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2024 03:09 AM
In a PDI environment, I would like to create a module in the application menu that displays a list of records where "@logged-in user name exists at the beginning of the additional comment in the incident table."
I am imagining a filter for the Incident module under Service Desk in the application menu,
but in "List of Records," it is not possible to dynamically obtain the logged-in user name and set it as a value.
Please tell me how to create a module that dynamically obtains values ​​and displays filters.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2024 03:17 AM
@Masato Sugawara You need to use the Dynamic Filter feature in this case. For more information about this feature, please refer to https://docs.servicenow.com/bundle/washingtondc-platform-user-interface/page/use/using-lists/task/t_....
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2024 10:05 PM
Thank you for letting me know about the dynamic filter feature.
I created the dynamic filter shown below, but I can't set it up for three reasons.
1. Additional comments don't appear in the filter
2. I don't know how to create an operator to replace the operator [is(dynamic)] on the page you showed me
3. I don't know if the dynamic filter is correctly retrieved with [@ + "Currently logged in user name"]
I'd like to solve the above three issues.
Could you tell me how to create and set up a simple dynamic filter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2024 03:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-04-2024 10:03 PM
HI @Abdul Azeem
Thank you for your reply.
I found that I can get the results I want by entering [active=true^commentsSTARTSWITH@System Administrator].
I would like to automatically obtain and enter the search string [@ + "currently logged-in user name"]. Is this possible?