Thanks for your assistance, issue resolved by adding 1 minute delay in Workflow. Looks like participant data was not present immediately.
Original Message:
Sent: 05-20-2025 15:01
From: Robert Wakefield-Carl
Subject: Unable to retrieve Json format Participant Data in a Workflow.
Okay, I see the big picture now. You are providing an array to a Participant Data, which only supports strings. You would need to bring that string in with the Get Participant Data and then parse that out to a collection and use that.
------------------------------
Robert Wakefield-Carl
ttec Digital
Sr. Director - Innovation Architects
Robert.WC@ttecdigital.com
https://www.ttecDigital.com
https://RobertWC.Blogspot.com
Original Message:
Sent: 05-20-2025 13:55
From: Reginald Sheraton
Subject: Unable to retrieve Json format Participant Data in a Workflow.
Hi Robert, now i am confused, i am writing Participant Data with Label = StatsData1II
and value = ["40006253","10005258","10005477","10005299","40006256"]
i have the conversation id and using Get Participant Data with Label = StatsData. No Data is received in the Workflow
------------------------------
Reginald
Original Message:
Sent: 05-20-2025 13:22
From: Robert Wakefield-Carl
Subject: Unable to retrieve Json format Participant Data in a Workflow.
In the Inbound Flows and Common Modules and some other like Bot Flows, yes you can. With a workflow, as long as you have the conversation ID, you can use the Get Participant Data took to retrieve the values. You need to supply the label you used in the Set tool.
------------------------------
Robert Wakefield-Carl
ttec Digital
Sr. Director - Innovation Architects
Robert.WC@ttecdigital.com
https://www.ttecDigital.com
https://RobertWC.Blogspot.com
Original Message:
Sent: 05-20-2025 12:58
From: Reginald Sheraton
Subject: Unable to retrieve Json format Participant Data in a Workflow.
Thanks for you response Robert. Just confirm what you are saying, Participant data in Json format cannot be retrieve via Get Participant data in a Workflow?
This works for all other flows:
Inbound Call Flow
In Queue Flow
Common Module flow
And must other flows, ia my understanding correct?
------------------------------
Reginald
Original Message:
Sent: 05-20-2025 12:46
From: Robert Wakefield-Carl
Subject: Unable to retrieve Json format Participant Data in a Workflow.
When you use the Set Participant Data tool, you are actually assigning a JSON KVP to the conversation details in the format of "Label" : "Value". Now, you could be assigning each to their own label or you could assign a delimited string to a single label. Either way, you need to use Get Participant or the API to get the participant date via the Label you used in the Set tool.
------------------------------
Robert Wakefield-Carl
ttec Digital
Sr. Director - Innovation Architects
Robert.WC@ttecdigital.com
https://www.ttecDigital.com
https://RobertWC.Blogspot.com
Original Message:
Sent: 05-20-2025 03:02
From: Reginald Sheraton
Subject: Unable to retrieve Json format Participant Data in a Workflow.
Unable to retrieve Json format Participant Data in a Workflow.
I am writing participant data in an Outbound Call flow - ["40006253","10005258","10005477","10005299","40006256"]
I then run a Workflow in which i need to retrieve the Json participant data - ["40006253","10005258","10005477","10005299","40006256"]
this is being retrieved blank
#ArchitectureandDesign
------------------------------
Reginald
------------------------------