How to show dynamic choices based off dependent value in record producer.

JordanDR
Tera Contributor

Hello Community,

I'm currently creating a separate record producer for a separate part of the business to submit tickets. On this form, I have a record reference dropdown with specific items they are having issues with (field: Item (u_item) and element 'u_item'), 

From there, based on the chosen item, I would like the record producer to show issue codes (field: Issue (u_issue) and element 'u_issue') that have the item as the dependent variable. I can't find a way to do this in the catalog builder, as it currently just shows everything that has the element 'u_issue", instead of ones that have the item as the dependent value.

Is there any way to script this out? Any help would be appreciated!

1 REPLY 1

David Philpott
Tera Contributor

Hi Jordan,

I haven't used catalog builder for record producers that I've created or modified as I've usually just edited the producers directly. I've been able to show or hide sections of a record producer by:

1. Creating variable sets that each contain the required fields. More info: https://docs.servicenow.com/bundle/sandiego-servicenow-platform/page/product/service-catalog-managem...

2. Creating catalog UI policies to only show a specific variable set when the user selects a value from a field on the record producer. Ensure the checkbox for 'Reverse if false' is checked. Set the filter on each one based on the value selected on the Issue field. More info: https://docs.servicenow.com/bundle/sandiego-servicenow-platform/page/product/service-catalog-managem...

Hope that helps.

 

Thanks,

David