Hi Danilo , check if it helps :
In Genesys Cloud Scripts, the participant data variable only stores the Value field.
There is no native mechanism to automatically store or retrieve the Display label in participant data.
Why this happens
A dropdown list in a Script has:
-
Display → what the agent sees
-
Value → what the system stores and sends to Architect, participant data, flows, etc.
When you assign that dropdown to a variable (e.g., TransferSelected), only the Value is exposed.
The Display label is considered UI-only and is not saved anywhere unless you intentionally save it.
How to get the Display value (workarounds)
Option - Create a second variable and map the Display manually
You can create a Custom Script Action (Set Value) that maps:
Then store DisplaySelected into participant data.
------------------------------
David Betoni
Principal PS Consultant
------------------------------
Original Message:
Sent: 12-05-2025 13:12
From: Danilo Reis
Subject: Variable Script
I'm creating a list of transfers in Script and I've added the fields "Value" and "Display".
For this list of transfers, I created a variable to display in the participant data, but it's only receiving the value from the "Value" field.
I'd like to know if there's any way to retrieve the name I gave to the "Display" field, in the participant.
#General
------------------------------
Danilo Reis
NA
------------------------------