Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

Intermittent Participant Data Issue Between Architect Flows

  • 1.  Intermittent Participant Data Issue Between Architect Flows

    Posted 10-07-2026 04:40

    Hi All,

    Recently, we encountered an interesting intermittent issue in Architect Flows while passing participant data from one flow to another.

    Scenario

    In Flow A, we used Set Participant Data as the last block, immediately before transferring the interaction to another flow.

    Flow A:

    Set Participant Data → Transfer to Flow B

    In Flow B, we initially placed Get Participant Data as the first block.

    During runtime, we noticed that the expected participant data was occasionally returned as Null.

    This issue is very intermittent it did not occur on every interaction observed for 4,5 calls only.

    Workaround

    As part of our troubleshooting, we found that the issue could be avoided by not placing Get Participant Data as the first block in Flow B.

    Instead, we moved Get Participant Data to a later point in the flow, where the participant data was actually required.

    The flow then worked as expected.

    Set Participant Data → Transfer to Flow B → Other processing → Get Participant Data

    This does not mean that Get Participant Data cannot be used at the beginning of a flow, but in our specific scenario, moving it away from the first block helped avoid the intermittent behavior we were experiencing.

    Has anyone else experienced similar intermittent behavior with Set Participant Data / Get Participant Data when passing participant data between Architect flows?

    Thank You,

    Narasimha


    #ArchitectandDesign

    ------------------------------
    Narasimha
    ------------------------------


  • 2.  RE: Intermittent Participant Data Issue Between Architect Flows
    Best Answer

    Posted 10-07-2026 04:51

    Hi Narasimha,

    From my understanding, this can occur because Set Participant Data updates are processed asynchronously. There may be a brief interval before the updated value becomes available to the receiving flow, which could explain why moving Get Participant Data further down Flow B resolved the issue.

    I haven't experienced this personally, but for a more reliable design, you could check whether the returned value is empty and, if so, wait briefly and retry a limited number of times before following a fallback path.

    This behaviour and the recommended validation approach are documented here:

    https://help.genesys.cloud/faqs/how-long-does-it-take-for-the-set-participant-data-action-to-update/

    Hope this helps!



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 3.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 10-07-2026 08:28

    Thank You @Phaneendra Avatapalli  this is helpful 



    ------------------------------
    Narasimha
    ------------------------------



  • 4.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 10-07-2026 09:33
    Edited by Marcello Jabur 10-07-2026 09:33

    Hi Phaneendra, thanks for sharing the article.

    I was under the impression that Participant Data was never getting updated values during a single Flow Execution.
    What I mean by that is... As far as I understood from previous discussions and documentations was that if you are executing the flow and the value is null, waiting some seconds and checking again with "Get Participant Data" would not retrieve a new value, as the flow has that information on cache or something like that from the moment it was started.

    I have this on my mind for years now, but it could be something that was changed on recent years. I haven't actually tested this in years.

    In any case, if this does happen what I would suggest is using a Data Action to get the participant data after the "Get Participant Data" block fails to retrieve the most up to date value.. As through a data action it wouldn't be using the cached flow value (That's all in case my previous assumption is true, but I'm not sure after reading that article).



    ------------------------------
    Marcello
    Senior PS Consultant
    ------------------------------



  • 5.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 10-07-2026 10:04

    Set participant data actions in architect flows write on flow exit.  That means it can be very easy to encounter race conditions when trying to retrieve values in the next flow randomly due to intermittent performance variability.

    My recommendation for time sensitive participant data writes is to use a data action to write participant data instead, as that circumvents the batched write on flow exit restriction.



    ------------------------------
    Aaron Lael
    State of Utah - comments on this forum reflect my own personal opinions\observations and are separate from any entity I am otherwise involved in.
    ------------------------------



  • 6.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 10-07-2026 10:17

    Just to clarify the implementation: are you using a Data Action to call the Genesys Cloud API and update the participant attribute directly? If so, I'd be interested in testing that against the standard Set Participant Data action to confirm whether it eliminates the intermittent behavior.



    ------------------------------
    Akhil
    ------------------------------



  • 7.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 10-07-2026 11:20

    Yes, you can directly use the attribute update endpoint. Besides solving the asynchrony "issue", I also use it to separate participant data into different interaction participants. This lets you store data that isn't necessarily related to the end customer, like, for example, a flow state that can be stored in the 'IVR' participant instead of "costumer" participant.

    Although it makes the implementation more complex-since you'll need a set of data actions to handle participant data-the visualization and organization become much cleaner in cases where this feature is used extensively.



    ------------------------------
    Evandro Thomaz
    Digital Solutions Consultant
    ------------------------------



  • 8.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 10-07-2026 17:52

    Thanks, Marcello. That's a good point I hadn't considered that Get Participant Data might be using values cached when the flow starts. If that is still the behaviour, moving the action later may have appeared to resolve the issue coincidentally rather than because of the delay.

    Using a Data Action to retrieve the latest participant data directly would be a useful fallback and test to confirm whether caching is involved.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 9.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 10-07-2026 19:01
    Thank you all for the great discussion and valuable insights. Using a Data Action to retrieve the latest participant attributes directly from the API seems like a good way to determine whether caching is involved. I'd be interested to hear if anyone has tested this behaviour recently.


    ------------------------------
    Akhil
    ------------------------------



  • 10.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 21 days ago

    Hi @Phaneendra Avatapalli, thanks for sharing!!!

    I voted for your idea 💪


    ------------------------------
    Cristian Rojas
    Interacciones Inteligentes S.A.
    ------------------------------



  • 11.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 21 days ago

    Cristian Rojas thank you for supporting the idea.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 12.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 30 days ago
    Edited by Jeremie SIMON 29 days ago

    Hello @Narasimha Valluri, and everyone,

    Interesting. We have encountered 5 Architect Error.Expression.Value.NotAllowed.NotSet (ARCHITECT-0002) errors since September 14, 2026, across several thousand conversations using the same flow.

    The context is that participant data is set in an inbound call flow and then retrieved in an in-queue flow after a Transfer to ACD action.

    After reviewing the logs of an interaction :

    2026-10-19T07:43:40.135 - Inbound Call Flow - Set Participant Data (values OK)

    2026-10-19T07:43:40.816 - In-Queue Flow - Get Participant Data (values are "null")

    The Get Participant Data task is the second task in the in-queue flow.

    I tested a Set Participant Data action immediately after the Get Participant Data action:

    2026-10-19T07:43:40.838 - OK

    I’m going to add a specific participant data attribute. When retrieving the participant data, if this value is null, a one-second delay will be added; otherwise, the flow will proceed to the next step.

    Thanks for the documentation ( @Phaneendra Avatapalli ) and for the suggestions, especially regarding the Data Action ( @Aaron Lael)!

    Regards,



    ------------------------------
    Jeremie
    IT
    ------------------------------



  • 13.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 29 days ago

    Hi Jeremie,

    Thanks for sharing the detailed findings and timestamps. Interesting to see the participant data returning null despite being set in the inbound flow less than a second earlier.

    The one-second delay will be an interesting test, particularly given Marcello's earlier point about possible caching within the flow.

    Please keep us updated on whether the delay resolves the issue or whether a Data Action is needed to retrieve the latest values.

    Thanks again for sharing!



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 14.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 29 days ago

    @Jeremie SIMON  thanks for sharing 



    ------------------------------
    Narasimha
    ------------------------------



  • 15.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 23 days ago
    Edited by Jeremie SIMON 23 days ago

    Hello,

    So, the 1-second delay was not sufficient. I encountered three errors at the same time on three differents interactions today.
    I have therefore implemented a loop with a maximum of 11 attempts, with a 1-second silence between each attempt, and added a participant data attribute to record the number of loops performed.
    This allows me to directly track what happened at the conversation level.
    This way, the 10-second delay mentioned in the documentation will be fully respected.
    Too, I reactivated Execution Data Storage on Architect flow to have new timestamps if this occurs again.
    I voted for your idea
    Thank you !



    ------------------------------
    Jeremie
    IT
    ------------------------------



  • 16.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 23 days ago

    Thanks for the update Jeremie, and I really appreciate you voting for my idea!

    I like your approach of using Participant Data to track the number of attempts directly at the conversation level. That should be useful for troubleshooting alongside the Architect execution data.

    Hopefully, the additional retries will help address the issue. Keep us posted on how it goes!



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 17.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 23 days ago

    Thanks for sharing Jeremie.

    I have 2 questions if you don't mind:

    1) So did this solve your issue completely? (I mean, did you notice any tests where the participant data has been retrieved successfully after a few tries? Like it failed on the 1st, 2nd... and then eventually it retrieved the updated value?)

    2) You mentioned a 10-second delay in a documentation. Which delay is that? Could you share that documentation?



    ------------------------------
    Marcello
    Senior PS Consultant
    ------------------------------



  • 18.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 23 days ago
    Edited by Jeremie SIMON 23 days ago

    @Marcello Jabur, you are welcome

    1) I think no because I just added a 1-second delay as a first try, too short I think when this occurs, so I add this loop to check if this fix the issue (11 × 1 second if the participant data is not set or empty)

    2) It's in this Genesys doc https://help.genesys.cloud/faqs/how-long-does-it-take-for-the-set-participant-data-action-to-update/ shared by @Phaneendra Avatapalli

    Regards



    ------------------------------
    Jeremie
    IT
    ------------------------------



  • 19.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 23 days ago

    I see! Thank you for the clarification!!



    ------------------------------
    Marcello
    Senior PS Consultant
    ------------------------------



  • 20.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 22 days ago
    Edited by Jeremie SIMON 22 days ago
    Hello,
    The error appeared again and the action "Play Audio File, 1-second silence" action queued the audio but did not pause the flow execution for one second at each iteration.
    2026-10-27T08:42:38.927Z - Inbound Call Flow - Set Participant Data (values OK)
    2026-10-27T08:42:39.712Z - Loop start In-Queue Flow - values are null
    2026-10-27T08:42:40.012Z - Loop end In-Queue Flow - values are null
    2026-10-27T08:42:40.075Z - In-Queue Flow - Get Participant Data (values are "null") - error
    As a result, the loop did not behave as expected (only one second between set and get participant data)
    I have therefore imported an audio prompt containing one second of silence, hoping that playing this prompt will enforce an actual one-second delay at each iteration.
    If you have any other suggestions, please let me know. Otherwise, I'll come back to you when the issue occurs again.
    Regards,



    ------------------------------
    Jeremie
    IT
    ------------------------------



  • 21.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 22 days ago

    Hi Jeremie,

    Thanks for sharing the additional logs!

    Interesting that the Play Audio action didn't introduce the expected delay. From my understanding, Architect can continue executing while audio is queued for playback, so it'll be interesting to see whether using an uploaded silent prompt behaves differently.

    Please keep us posted on the results of your next test!

    Hope this helps!



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 22.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 29 days ago

    Hi Narasimha,

    As noted there are a few workarounds to this challenge, but I wonder if the best option in the long term would be for more flows to support Input/Output logic like Bot Flows, Workflows and Common Modules. I found a few ideas but nothing consolidated on this feature so maybe one to bring up again. If anyone creates an idea please post so we can drop in use cases.

    Below is an example of the logic I would like to see from a bot flow perspective.

    https://community.genesys.com/discussion/retrieve-caller-and-called-phone-numbers-in-a-bot-flow#bma0d2c9ec-80db-4a70-a994-01a08f72daa6



    ------------------------------
    Richard Chandler
    Connect
    ------------------------------



  • 23.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 29 days ago

    Thanks @Richard Chandler this is a good workaround 



    ------------------------------
    Narasimha
    ------------------------------



  • 24.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 29 days ago

    Thanks Richard! I've created an idea based on your suggestion and included a few use cases, including passing variables between Architect flows during transfers.

    Feel free to add any additional use cases or suggestions.If you think anything needs to be changed or added to the idea, please let me know and I'll update it.

    Hopefully, we can get more Community support for this enhancement!

    https://genesyscloud.ideas.aha.io/ideas/SSAAOB-I-483



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 25.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 29 days ago

    Thank you @Phaneendra Avatapalli for creating idea, i have voted for it



    ------------------------------
    Narasimha
    ------------------------------



  • 26.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 29 days ago

    Narasimha Valluri Thank you supporting the idea.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 27.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 29 days ago

    Thanks @Phaneendra Avatapalli Voted and commented.



    ------------------------------
    Richard Chandler
    Connect
    ------------------------------



  • 28.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 29 days ago

    Richard Chandler Thank you for supporting the idea.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------



  • 29.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 21 days ago

    Hi @Jeremie SIMON, your log matches what Phaneendra described: Play Audio queues the prompt, and execution moves on before it finishes, so the loop doesn't really wait. In an in-queue call flow there is an action designed for exactly this: Hold Music with Play style = Play for duration. Per the docs, it plays hold music for the chosen time and only then moves to the next action. That makes it a real, measurable pause, and it's only available in in-queue call flows, which is where your Get Participant Data runs.

    A retry loop could look like this:

    1. Get Participant Data
    2. Decision: is the attribute set (not NOT_SET and not empty)? → continue
    3. Otherwise: Hold Music, Play for duration = 1 or 2 seconds → increment a counter → back to step 1, up to the ~10 second window the FAQ suggests
    4. After the last attempt, take a defined fallback path instead of failing on the NotSet error

    Keeping your attempt counter in participant data, as you already do, will show whether the value shows up after 2, 5 or 9 seconds. That tells us whether this is propagation delay or the snapshot-at-flow-start behavior Marcello raised. If it's the snapshot, no amount of waiting will fix it, and Aaron's data action approach is the safer path.

    I haven't measured how precisely the duration is honored, so I'd still check the timestamps in Execution Data.

    Docs: https://help.genesys.cloud/articles/add-hold-music-task/ and https://help.genesys.cloud/faqs/how-long-does-it-take-for-the-set-participant-data-action-to-update/



    ------------------------------
    Sebastian
    Ingeniero de Proyecto
    ------------------------------



  • 30.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 21 days ago

    The audio playback queue is a holdover from CIC. The step that flushes audio without parallel execution the easiest for this use case is collect input.  You just don't announce that you're actually collecting anything and let them configured timeouts move you on.  That way you can actually pause for the duration to wait for participant data to write, if that is the option you take to work around this.



    ------------------------------
    Aaron Lael
    State of Utah - comments on this forum reflect my own personal opinions\observations and are separate from any entity I am otherwise involved in.
    ------------------------------



  • 31.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 21 days ago

    There is actually a Flush Audio action in architect that you can use if you only want to flush audio without using a collect input.

    So to actually introduce a wait in the logic you have to:

    • First use a Play Audio action to queue the audio. A prompt, music or silence.
    • Next use the Flush Audio action to play that queued audio. This will pause the flow execution until the audio is played.
    • Finally you can use Get Participant Data.

    I my experience the wait needed when transferring between flows depends on the load. But 500-700ms should be sufficient for most cases. However Genesys states it can take up to several seconds.

    Please have a look at the documentation around audio processing in architect flows

    https://help.genesys.cloud/articles/flush-audio-action/
    https://help.genesys.cloud/articles/audio-buffer-and-flush-in-architect-flows/



    ------------------------------
    Jonas
    Consultant
    ------------------------------



  • 32.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 20 days ago
    Edited by Aaron Lael 19 days ago

    Jonas,

    The flush audio step is not synchronous, which is why I advised to use collect input.  Execution does continue while audio is flushed via that tool.  The only time execution stops in a flow is on input collect, disconnect or transfer.

    edit as Jonas points out below, this is incorrect.  Flush audio does create the delay in playback.  I have committed the crime of partially misremembering a support case from 1.5 years ago and misinterpreting "stops flow execution" in the audio buffer documentation.  Oopsie.



    ------------------------------
    Aaron Lael
    State of Utah - comments on this forum reflect my own personal opinions\observations and are separate from any entity I am otherwise involved in.
    ------------------------------



  • 33.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 20 days ago
    Edited by Jeremie SIMON 20 days ago

    Hello @Sebastian Valenzuela @Aaron Lael @Jonas Jonsson,

    Thank you for your suggestions !

    To resume :

    • Wait action does not exist in in-queue flow
    • Play audio doesn't pause the flow, only queue the prompt
    • Flush audio action is asynchronous

    The safest way seem to collect input like said by Aaron, so I test this way to begin.

    If it' s not a success, I will test Hold music (with blank prompt) 

    I'll come back here when the issue occurs again.



    ------------------------------
    Jeremie
    IT
    ------------------------------



  • 34.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 20 days ago

    Collect Input is available in In Queue Flows.



    ------------------------------
    Aaron Lael
    State of Utah - comments on this forum reflect my own personal opinions\observations and are separate from any entity I am otherwise involved in.
    ------------------------------



  • 35.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 20 days ago

    @Aaron Lael,

    Indeed, I'm just blind...

    Last comment edited

    I test this way to begin



    ------------------------------
    Jeremie
    IT
    ------------------------------



  • 36.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 20 days ago

    Actually I believe that is incorrect. This is a snip from an execution history with three steps.

    1. Play audio - To queue an prompt
    2. Flush audio - Executes 1ms after the previous action
    3. Get Participant Data - Executes several seconds later after the prompt has been completely flushed making this synchronous.
    {
                    "actionPlayAudio": {
                        "actionId": "b4d7c936-8d84-438e-a703-163ba87348a2",
                        "actionName": "Play Audio",
                        "audio": {
                            "queuedAudioFlushed": false,
                            "toParticipant": {
                                "audioItems": [
                                    {
                                        "bargeInEnabled": true,
                                        "promptIsNull": false,
                                        "text": "This is my long, long prompt playing with a message that is longer than normal so it actually takes some time to read out load for the caller.",
                                        "valueIsRedacted": false
                                    }
                                ],
                                "dateTime": "2026-10-29T06:59:05.031Z"
                            },
                            "tools": []
                        },
                        "dateTime": "2026-10-29T06:59:05.031Z",
                        "executionId": "eb32501d-3e6e-4052-99a3-654d5a4dc56a",
                        "trackingId": 23
                    }
                },
                {
                    "actionFlushAudio": {
                        "actionId": "f8879879-afe6-4f0d-9e05-4e7e8f2288e2",
                        "actionName": "Flush Audio",
                        "dateTime": "2026-10-29T06:59:05.032Z",
                        "executionId": "7a352858-5c42-497f-9ef1-f9bc7b183630",
                        "queuedAudioFlushed": true,
                        "trackingId": 27
                    }
                },
                {
                    "actionGetParticipantData": {
                        "actionId": "b3e2477d-350b-406c-a868-6395a85e133c",
                        "actionName": "Get Participant Data",
                        "dateTime": "2026-10-29T06:59:13.312Z",
                        "executionId": "43288736-c4f1-441f-b3a6-a642b83fb7c9",
                        "outputData": {
                            "attributes": [
                                {
                                    "outputName": "myValue",
                                    "value": null
                                }
                            ]
                        },
                        "outputVariables": [
                            {
                                "value": null,
                                "variableId": "4dba137e-513e-4d45-8719-bbee3e54a88d",
                                "variableName": "Task.myValue"
                            }
                        ],
                        "trackingId": 28
                    }
                }

    Cheers!



    ------------------------------
    Jonas
    Consultant
    ------------------------------



  • 37.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 20 days ago

    Thank you @Jonas Jonsson, I go to try it on another flow (I got the same error today on a flow not edited since August 2025...)

    For information, the doc How long does it take for the Set Participant Data action to update? - Genesys Cloud Resource Center has been published for the first time on March 18, 2026.

    Regards


    ------------------------------
    Jeremie
    IT
    ------------------------------



  • 38.  RE: Intermittent Participant Data Issue Between Architect Flows

    Posted 13 days ago
    Edited by Jeremie SIMON 13 days ago

    Hello,

    This happened twice, and the Collect Input action combined with a loop worked in both cases:

    Case 1 :

    • Set Participant Data (Inbound Call Flow): 2026-11-04T09:13:25.551Z
    • Get Participant Data (In-Queue Call Flow): 2026-11-04T09:13:26.235Z ⇒ value: Not_Set
    • Initialize a loop depending on whether the data is set or empty (maximum of 11 loops): 2026-11-04T09:13:26.260Z
    • Collect Input with a 1-second timeout: 2026-11-04T09:13:26.261Z
    • Get Participant Data (In-Queue Call Flow - loop 0): 2026-11-04T09:13:28.347Z⇒ value: Not_Set
    • Get Participant Data (In-Queue Call Flow - loop 1): 2026-11-04T09:13:30.406Z⇒ value: OK

    The same behavior was observed in the following case:

    Case 2 :

    • Set Participant Data (Inbound Call Flow): 2026-11-04T09:13:18.991Z
    • Get Participant Data (In-Queue Call Flow): 2026-11-04T09:13:19.825Z ⇒ value: Not_set
    • Get Participant Data (In-Queue Call Flow, loop 0): 2026-11-04T09:13:21.905Z ⇒ value: OK

    Regards,



    ------------------------------
    Jeremie
    IT
    ------------------------------