I want to make the subcategory into one Variable.

Kentaro Numata
Tera Guru

Hello, It's Kentaro.

 

I'm using Incident.

It has Category and Subcategory as variables.
Category is the department to contact.
Sub category selects the inquiry type.
There are sub categories for each department.

 

I want to have one sub category.
If anyone knows of a specific method, please let me know.

 

Thanks,

Kentaro.

スクリーンショット 2024-07-29 8.25.42.png

6 REPLIES 6

Vrushali  Kolte
Mega Sage

Hello @Kentaro Numata ,

 

Thanks for your query.

Can you please explain in detail about your requirement? What is the expected result here?

 

If my answer solves your issue, please mark it as Accepted & Helpful!

Hello @Vrushali Kolte!

Thank you for replying.

 

The expected results are as follows.

 

▼Variable
①Select Box (Department)
②Select Box (Inquiry category)

 

▼Expected behavior

・Select "General Affairs Department" in ①

・The Select Box in ② will only be able to select the inquiry category for the General Affairs Department.

*I would like to change the option ② depending on the selection status of ①.

 

Thanks,

Kentaro.

@Kentaro Numata 

 

You can make use of one of the following

1) dependent variables

2) Reference qualifier

3) OnChange client script to remove or add Option

 

 

Ehab Pilloor
Mega Sage

Hi @Kentaro Numata,

By ServiceNow OOB, the sub-categories are dependent on Category choice field. Check the Dictionary of Sub-category (right click on the subcategory field label and select configure Dictionary) for dependent field section and uncheck the Use dependent field.

 

If you found my reply useful, please mark it as Solution and Helpful.

 

Thanks and Regards,

Ehab