Automatically Populate a Catalog Item Variable Based on Another Variable Selection

tilekarnilesh
Tera Guru

Hi Community,

I’m working on a ServiceNow catalog item and want to dynamically populate one variable based on the selection in another variable.

Scenario:

I have a variable “select_the_requested_group” with choices:

ABC

DEF

GHI

JKL

MNO

I have another variable “copy_of_select_the_requested_group” that should automatically populate with a corresponding backend value when a group is selected.
For example:

select_the_requested_group            copy_of_select_the_requested_group 
ABC                                                                              XYZ
DEF                                                                               PQR
GHI                                                                                LMN
JKL                                                                                 STU
MNO                                                                             VWX

I want this to happen automatically, without the user having to type anything.
How to Achieve This?