I believe all the attributes must be strings
So for Queue and Skill, in the the inbound flow, I would do Find Queue Action and Find Skill Action to convert from a string to the actual queue and acd skill objects. And for priority just convert to an integer in the inbound flow
So attributes would be set as:

Or in the DataAction this is the one we currently use for updating some values

------------------------------
Anton Vroon
------------------------------
Original Message:
Sent: 05-09-2022 17:29
From: Reginald Sheraton
Subject: Retrieve Output Variable from Script in Architech
Thanks, just trying to figure out how to populate the below attributes in the data action
skill, queue and priority(integer)
{
"attributes": {}
}
------------------------------
Reginald
Original Message:
Sent: 05-09-2022 17:19
From: Anton Vroon
Subject: Retrieve Output Variable from Script in Architech
Yup 100%
Though we use Scripter.Customer Participant ID instead of the Agent Participant ID.
Here is an example from a Script we use

------------------------------
Anton Vroon
Original Message:
Sent: 05-09-2022 17:02
From: Reginald Sheraton
Subject: Retrieve Output Variable from Script in Architech
Thanks for your prompt response, could i use the built in Script variables to populate the data action?
{{Scripter.Interaction Id}}
-unique ID assigned to the interaction. This variable is the same as the conversationID
in the Genesys Cloud API.
{{Scripter.Agent Participant ID}}-agent's ID.
------------------------------
Reginald
Original Message:
Sent: 05-09-2022 16:37
From: Anton Vroon
Subject: Retrieve Output Variable from Script in Architech
Setting a Variable in Agent Script to Output = True doesn't make that Variable available in the inbound flow through Participant Data, I know weird right. But I believe the use case for that is for External systems to access that information.
We use this API https://developer.genesys.cloud/devapps/api-explorer#patch-api-v2-conversations--conversationId--participants--participantId--attributes
as a DataAction in the Agent Script to add/update participant data, that can then be retrieved in the Inbound flow with the normal Get Participant Data Action.
------------------------------
Anton Vroon
Original Message:
Sent: 05-09-2022 15:22
From: Reginald Sheraton
Subject: Retrieve Output Variable from Script in Architech
Hi all,
hoping someone can assist with the below.
- Agent receives inbound call and agent script is presented
- Within agent script i have a button to perform Blind Transfer to a Genesys DID which starts a flow in Architect.
- i require, by setting script variable to Output = true, to retrieve the value of the Output variables from Agent script in the Architech Flow.
Variables:
Skill - Output = true
Queue - Output = true
please advise if this is possible via get participant data within Architech?
#ArchitectureandDesign
#Routing(ACD/IVR)
------------------------------
Reginald
------------------------------