Hi,
As far as I know, this isn't supported natively today.
The Set Screen Pop action only allows you to select a published script statically and doesn't support expressions or variables (such as Script ID or Script Name) for dynamic selection. I also found a previous discussion in the community where the same limitation was confirmed, and the suggested workaround was to use Switch/Decision logic to select a different Set Screen Pop action for each script.
I also looked through the Ideas Portal but couldn't find an existing idea requesting this enhancement.
This is an excellent use case, especially in environments where multiple queues share the same agents but require different scripts after transfers. I think it would be worth submitting a new idea to the Ideas Portal:
https://genesyscloud.ideas.aha.io/
I'd definitely vote for it, as it would simplify Architect flows significantly and eliminate the need for large Switch structures just to determine which script should be displayed.
------------------------------
Raphael Poliesi
------------------------------