Subcategory in Record Producer

Nataliia_Lova
Tera Guru

Hello community!
I have an issue with the category and subcategory in the record producer.

It works clearly in the default viewšŸ‘‡

Screenshot 2023-12-22 at 14.13.31.png

but not in the record produceršŸ‘‡ In record producer, the subcategories are shown in the dropdown as null, and the categories are displayed exactly right.

Screenshot 2023-12-22 at 14.14.29.png

What is the reason?

 

https://www.servicenow.com/community/developer-articles/solved-dependent-variable-on-catalog-item-us...

 

I read this article but this method works only for category.

1 ACCEPTED SOLUTION

Aniket Chavan
Tera Sage
Tera Sage

Hello @Nataliia_Lova ,

Please refer the article below and follow the exact same procedure including variable types, so that there will be no any need to use the script.

 


Let me know your views on this and Mark
āœ…Correct if this solves your query and also mark šŸ‘Helpful if you find my response worthy based on the impact.

 

Thanks,

Aniket

View solution in original post

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Nataliia_Lova 

 

Have a look here

 

https://www.servicenow.com/community/developer-forum/category-and-subcategory-in-record-producer/m-p...

 

Also share the backend code of your configuration of catgory and subcategory

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hello,

Thank you for your hint. I am new to ServiceNow development and I was looking for no-code, low-code solutions. I should have mentioned it beforehand in my question.

Best Regards,
Nataliia.

Aniket Chavan
Tera Sage
Tera Sage

Hello @Nataliia_Lova ,

Please refer the article below and follow the exact same procedure including variable types, so that there will be no any need to use the script.

 


Let me know your views on this and Mark
āœ…Correct if this solves your query and also mark šŸ‘Helpful if you find my response worthy based on the impact.

 

Thanks,

Aniket

Thanks for your advice.

I have adjusted my queries to the information in this article and it turned as a solution.

 

Best Regards,
Nataliia.