Original Message:
Sent: 05-22-2026 05:52
From: Abdul Majeed
Subject: Script Variable
Thank you for the suggestions have managed to find a solution using data actions in the script when a input box is populated.
Many thanks again
------------------------------
Abdul Majeed
Customer Solutions Design Specialist
Original Message:
Sent: 05-21-2026 20:02
From: Phaneendra Avatapalli
Subject: Script Variable
Arthur Pereira Reinoldes Thank you for confirming.
------------------------------
Phaneendra
Technical Solutions Consultant
Original Message:
Sent: 05-21-2026 10:51
From: Arthur Pereira Reinoldes
Subject: Script Variable
That's a good point, @Phaneendra Avatapalli.
I've done it to fix an issue with transfer interactions. In this way, we could identify values on participat data without overriding this.
This post helps us.
Retrieve Scripts variable as Participant data in a subsequent call flow | Legacy Dev Forum Posts
------------------------------
Arthur Pereira Reinoldes
Original Message:
Sent: 05-21-2026 09:44
From: Phaneendra Avatapalli
Subject: Script Variable
Hi Abdul,
It sounds like the values are currently only being stored in local Script variables/text fields, which is why they become null after the interaction is transferred and the Script context reloads for the next agent.
One approach that may help is storing the selected dropdown value into Participant Data instead of relying only on the Script variable itself.
A common pattern is:
Dropdown selection
→ Data Action/API call
→ Update Participant Data
→ Transfer interaction
→ Read Participant Data back into the Script if needed
The API commonly used for this is:
PATCH /api/v2/conversations/{conversationId}/participants/{participantId}/attributes
Especially if the value is needed later for reporting, Participant Data tends to persist much better across transfers compared to local Script variables.
------------------------------
Phaneendra
Technical Solutions Consultant
Original Message:
Sent: 05-21-2026 09:27
From: Abdul Majeed
Subject: Script Variable
In a script trying to save to a second variable so when an interaction is transferred it saves the second value for reporting purposes.
Have a drop down list box which populates a text box.
Can see the two participant entries on answering the interaction and selecting from drop down box.
On transfer both become null , tried a few things like creating a action not too repopulate if not null with no luck
Some suggestions would be much appreciated
#Implementation
------------------------------
Abdul Majeed
Customer Solutions Design Specialist
------------------------------