I am trying to set agent score pairs for preferred agent routing and would like to set a score for all agents with a specified skill. We have connected our system to Salesforce and pull some data from there. One field we pull is "Region" which is a picklist containing US State abbreviations. We then created matching skills in Genesys for each US State. In the flow, we set the variable SalesforceRegion = flow.region .
I am trying to do something along the lines of:
MakeList(
MakeAgentScorePair(
FindUserById(Flow.CaseOwner.id),
100
),
MakeAgentScorePair(
All users with skill "flow.region"
90
)
)
If there is a way to write this formula, please advise. There is no information in the PureCloud Resource Center concerning setting preferred agents based on skill.