How to limit list collector variable choices based on location selected??

vijay39
Giga Expert

Hi guys,

I have created a Record Producer on sc_request table and in that record producer I have a location field of type select box with 4 choices, UK, Australia, USA and India. And I have 15 regions for each location. Based on location selected, a user must be able to select related regions. So I created a table for all the regions and I have given that table as reference in Type specifications of list collector variable. So now if user selects UK, the list collector variable must show only UK regions and if he selects India, only India regions must be shown. How can I do this?

Please help me here

Regards,

Vijay

 

1 ACCEPTED SOLUTION

manjusha
Kilo Guru

Hi,

Please follow below link .

https://community.servicenow.com/community?id=community_question&sys_id=676f02b9db1557c8fc5b7a9e0f96191d

If it helps you please mark it as correct/helpful.

Regards,

Manjusha Bangale

View solution in original post

6 REPLIES 6

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Vijay,

 

You may find the below thread helpful.

https://www.servicenowguru.com/scripting/client-scripts-scripting/changing-filter-list-collector-variable-client-script/

 

-Pradeep Sharma

manjusha
Kilo Guru

Hi,

Please follow below link .

https://community.servicenow.com/community?id=community_question&sys_id=676f02b9db1557c8fc5b7a9e0f96191d

If it helps you please mark it as correct/helpful.

Regards,

Manjusha Bangale

Thank you Manjusha, It helped me

 

Regards,

Vijay

Priyanka136
Mega Guru

Hi vijay,

Please refer the below link.

https://community.servicenow.com/community?id=community_question&sys_id=e589c3a5db5cdbc01dcaf3231f96...

Please Mark it correct or helpful, based on impact....!!!

Warm Regards,

Priyanka

find_real_file.png

www.dxsherpa.com