I am working on a project to add preferred routing found this article Transfer to ACD action - Genesys Cloud Resource Center The way I understand this is that it is hard coded and would need to be changed every time you add or remove an agent.
"You can use a MakeListAgentScorePair function that takes a collection of users along with an integer collection of scores to associate with the users. Following that method, this example generates the same value as the previous expression:
MakeListAgentScorePair(
MakeList(
FindUserById("<put_user_guid_string_here>"),
FindUserById("<put_user2_guid_string_here>"),
),
MakeList(
100,
90
)
)"
Is there a way to make this scalable for 1500+ agents if it needs to be changed weekly? Is there a way to code in to be able to upload a CSV or pull or push the changes via AP? Also is there’s an identifier on the agents profile we can use instead?