We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Filtering Request Items Based on Catalog Item, ITIL Role .

SantushtS
Tera Contributor

Hi  All,

How can I filter the Request Item table in ServiceNow to retrieve request items associated with a specific catalog item, for users who are members of certain groups and have an ITIL role assigned, and were generated through the Service Portal?

 

Thanks,

Santusht

 

13 REPLIES 13

Hello @SantushtS 

 

Yes, in the "assignment group" filter you need to add "is Dynamic" - one of my groups. Then the user will only be able to see the items which are of his groups, and for other conditions it's already described in above answers - you can dot walk to roles - for ITIL, Item field for specific item. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway,

 

Regards,

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Hi  @Shivalika,

Thanks for your response

I can apply the filter on the table, but I need to implement it in such a way that users with the ITIL role will directly see the RITM associated with the specific catalog item on the backend

Hello @SantushtS 

 

Then you need to create a "Query Business Rule".

 

In the Scripted part pass - current.addEncodedQuery() 

 

With the parameters pass the filter string you obtain after putting these filters in the table. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway,

 

Regards,

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

@SantushtS 

for filtering you can use 2 ways

1) create a left nav module with sysparm_fixed_query=<your query>, with this users cannot remove the filter

OR

2) create a query business rule on RITM table with your conditions

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Kieran Anson
Kilo Patron

You'll need a database view.

However, what is the goal of this, what is the data being used for? If you can explain the purpose of the information there might be a better solution