In the script, define your variables to receive as 'Input' in the Page Properties (sounds like you've done this).
Publish the script.
In the Inbound Flow, in a task, select the 'Set Screen Pop' step, place it logically before the Transfer to ACD.
In Set Screen Pop, choose the script you just published.
There will be a set of Input parameters exposed, you can assign your data to each Input variable exposed in the script.
This data can be any data element available to you in the Inbound Flow, Call., Task., Flow.
You don't need to use Set Participant Data to get the data to the script, but if you need it for other purposes on the conversation, you can leave the step you have in place.
Save, Publish and Test. The data will now be available in the Script.
Hope this helps.
------------------------------
Paul Reininger
Avtex Solutions, LLC
------------------------------
Original Message:
Sent: 05-15-2021 03:15
From: Jeff Hoogkamer
Subject: Using Input Variable in Script with Architect Set Participant Data
String variable on both ends (not a dynamic in Scripts either).
------------------------------
Jeff
Original Message:
Sent: 05-15-2021 03:08
From: Vaun McCarthy
Subject: Using Input Variable in Script with Architect Set Participant Data
What variable type are you using on both sides?
------------------------------
Vaun McCarthy
NTT New Zealand Limited
Original Message:
Sent: 05-14-2021 23:58
From: Jeff Hoogkamer
Subject: Using Input Variable in Script with Architect Set Participant Data
This is probably going to be the most simple thing - but I cannot figure out how to display an Attribute from Architect in 'Set Participant Data' to show in Scripter.
(Yes I've seen https://help.mypurecloud.com/articles/script-input-output-variables/ which says "The Input property indicates whether this variable's value can be set by an outside source, such as an Architect call flow." - but doesn't explain how to set this from an Architect call flow.)
In the Script I've created Variable 'IVRInfo' with the Input set to Yes, and within Architect I've used the 'Set Participant Data' step to set an attribute called 'IVRInfo' with the data I want.
However when the Script runs, it's not getting the data.
What am I missing?
#ArchitectureandDesign
#Telephony
------------------------------
Jeff
------------------------------