Legacy Dev Forum Posts

 View Only

Sign Up

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

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

    Posted 06-05-2025 19:12

    SeowLengNg | 2022-05-12 12:35:33 UTC | #1

    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


    anon88270151 | 2022-05-31 19:04:47 UTC | #2

    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


    system | 2022-07-01 19:05:12 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 14712