Pass Variable from Script to flow

Hi
I'm looking to pass a variable from a script via a transfer to a flow.
Once in the flow I want to run a switch on the data to decide what action to take next

I've set the var to output and the transfer to flow works

Do I:
Use the action Get Participant Data (if so how)
or is there a step I am missing?

To test I set audio on each leg of the switch and it always goes down the default leg.

The Var is called Queue and set to Test in the Script if that helps

Many Thanks in advance

Whole section of the documentation on this subject -
https://help.mypurecloud.com/articles/set-participant-data-action/

I think the problem you got is that the Participant data will be added at the agent level and not on the main interaction, getParticipant data does not read those values
What you can do is the following, in your main flow add attach this value with set participantdata already with and "" value (not set will not attach the key) and then because the key is already in the main interaction you can update it with the agent script if you use sting (input and output)

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.