Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Populate list collector value based on reference field on catalog form

Bhumika_Patil
Tera Contributor

We have a requirement to automatically populate the subdomain field based on the selected domain on catalog form.

  • Domain: A reference type variable that pulls values from the domain table.
  • Subdomain: A list collector that retrieves corresponding values from the subdomain table, based on the domain mapped to it.

Can someone please provide guidance on how to implement this?

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@Bhumika_Patil 

what if there are multiple subdomains? you want to auto populate all or only any 1 from those?

you can use onChange client script + GlideAjax and it should be an easy one

What did you start with and where are you stuck?

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