- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2023 05:12 AM - edited 12-28-2023 05:18 AM
Hi all, When I set My Request Filter, I want to call script include in Flag filter condition ,but it not work , Is it possible to call script include in my request filter? Any help will be appreciated!
javascript: new global.showTeamsTicket.isMemberofGroup(gs.getUserID())
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2023 05:22 AM
Hi @Betty9
Yes, you can call script include in the filter.
Check other OOB filters, few filters are configured to run javascript code.
Below is one of the out of the box example using same.
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2023 05:22 AM
Hi @Betty9
Yes, you can call script include in the filter.
Check other OOB filters, few filters are configured to run javascript code.
Below is one of the out of the box example using same.
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2023 04:27 AM
Hi Anil Lande,
I try this method to call script include, It seems only classless Script Includes can be called, Do you know why Script Include with a class not work?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2023 05:22 AM
@Betty9 Ideally, it should work but you can also replace this condition with Assignment group is(dynamic) One of My Groups filter.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2023 04:27 PM
Hi , Sandeep Rajput, the login user is not belong to assignment group, So this solution may not worked, Thank you for answering.