Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Edit behavior of "Request For" in catalog item

JérômeM
Tera Contributor

Hello
I have a need in a portal catalog item to filter the users possible to be selected in the "Request For".
Does anyone have an idea on how I can achieve this ?
I want to only return users from a specific company and not the full list.
Thanks
Jérôme

JrmeM_0-1743084401168.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@JérômeM 

simply update the query in this property -> glide.sc.request_for.query

I updated it with query and it has only 1 user

AnkurBawiskar_0-1743086884271.png

 

AnkurBawiskar_1-1743086897039.png

 

Output: I am able to select only that user, so the filter got applied

 

AnkurBawiskar_2-1743087018898.png

 

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

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

View solution in original post

12 REPLIES 12

Hi @JérômeM ,

 

Open Variable set record and search for the variable Requested for.

 

It's not in there neither 😉 It is not something defined from within the catalog item

JrmeM_0-1743086114533.png

 

Then Please cross check the service catalog name in the portal where you see requested for and search the same in maintain item. 

Ankur Bawiskar
Tera Patron
Tera Patron

@JérômeM 

simply update the query in this property -> glide.sc.request_for.query

I updated it with query and it has only 1 user

AnkurBawiskar_0-1743086884271.png

 

AnkurBawiskar_1-1743086897039.png

 

Output: I am able to select only that user, so the filter got applied

 

AnkurBawiskar_2-1743087018898.png

 

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

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

Hi @Ankur Bawiskar ,

 

This is new for me. How is this variable gets created without declaring it?