Hi Anton,
>>>Will that work?
Yes, you can use wrap-up codes to do it. Currently there is no other way. Many of our clients use this approach and it works quite well.
You can use expression: RandomInt(99) + 1 < Flow.RequiredPercentage for checking percentage. It is fairly accurate.
-------------------------------------------------
>>>Will that have any consequences on agent selecting a wrap up code?
No, interaction could have multiple wrap-up codes. That does not impact wrap-up codes selected by agents.
-------------------------------------------------
You can add this logic to Inbound Flow for interactions going through the flow.
For other interactions that do not use inbound flows such as manual outbound calls on behalf of the queue - you can use process automation trigger and use custom data action to Set Wrap-up code in the Workflow. This is more complicated scenario, but still works.
------------------------------
Maxim Tsvetov
Principal PS Consultant
Genesys
------------------------------