Unable to retrive script variables as partipant data in a secure flow

Hi,

I urgently need your help to resolve my data passing issue from an agent script to a secure call flow.

I have created 2 variables in my agent script to collect input from an agent before transfer the call to a secure flow. I have followed the document of " Script input and output variables - Genesys Cloud Resource Center" to set the output variable ="yes" and try to get the participant data in my subsequent secure flow. However it returns empty value.

I also tried to setup a data action for Genesys API (/api/v2/conversations/{conversationId}/participants/{participantId}/attributes) and execute it before transfer the call to a secure flow. However when i try to get the Participant Data in Secure Flow, it still return empty.

Would appreciate if you can direct me a correct way how to passing the data from agent script to a secure flow.

Thanks!

Best regard,
Charlene

Hi Charlene,

You can actually pass data to a secure flow directly in the scripter "Invoke Secure Flow" action. You do that by setting the "Flow Data Field" action property:


which sets the Flow.InvocationData (sometimes referred to as "userData") built-in/system variable in the flow.

Thanks for reaching out to us, and let us know if this doesn't answer your question.

Cheers!

-Tom

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