You can read [color=rgb(76, 0, 102)][font=helvetica neue][size=14px][url=https://docs.genesys.com/Special:Repository/81r_strat.pdf?id=e30341ed-da87-4ddb-b335-150e4a114beb]Universal [b]Routing[/b] 8.1 Strategy Samples[/url][/size][/font][/color]. Uses a weight for distribution. A change on the weight just resets the stats. So, dynamic variable is quite not possible as you wish.
From eSR:
[quote]
[table][tr][td][table][tr][td]
Is it possible use Percentage allocation with configurable variable?[/q][/t][/t][/t][/t]
[table][tr][td][right][size=0px][color=rgb(74, 74, 86)]Answer[/color][/size][/right]
[table][tr][td][size=14px]
Not exactly. Configurable Percentage allocation does not work with variables.[/t][/t][/t][/t]
[/size][list]
[li]You can dynamically compose the target string with weights, for example:
1. Create a variable with the following format:
Weight[<percentage for 1st target>]<target_name1>@SS.<target_type1>, Weight[<percentage for 2st target>]<target_name2>@SS.<target_type2>,...
for example 'Weight[80][email]Target1@SS.GA[/email],Weight[20][email]Target2@SS.GP[/email]'
2. Specify this variable as a target in the target selection block. This will work the similar to a percentage routing rule. Assign this string to a variable and route to the variable.[/li]
[/list]
[table][tr][td][right][size=0px][color=rgb(74, 74, 86)]Environment[/color][/size][/right]
[table][tr][td][size=14px]
[/t][/t][/t][/t]
[/size][table][tr][td][right][size=0px][color=rgb(74, 74, 86)]Supplemental Information[/color][/size][/right]
[table][tr][td][size=14px]
For every target which has a weight specified URS calculates and keeps a Percentage statistic, the name of this statistic includes <strategy_name><target_name><block_id_in_the_strategy>.
For example, for the "Weight[1][email]Target_1@SS.RP[/email], Weight[99][email]Target_2@SS.RP[/email]" target set used in the Strategy1 in a block with internal id=44 URS will create two percentage statistics and set them to 0:
[email]Strategy1_Target_1@SS.RP_44[/email],
[email]Strategy1_Target_2@SS.RP_44[/email]
(there might be additional <routing_rule> part in the names, if percentage routing rule objects are used; it's not your case).
Every time your strategy enters this block, it looks for the current Percentage statistic values for the targets specified and uses them. If the weight for any target is changed or the target set itself is changed, the current percentage statistics for all these targets are reset to 0.
[/size][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/t][/quote][size=14px]
Of course I am copy pasting, a job you could also easily do by searching on Genesys site, but as I am bored there you go[/size]
[/td][/tr][/table][/td][/tr][/table][/td][/tr][/table][/td][/tr][/table][/td][/tr][/table][/td][/tr][/table][/td][/tr][/table][/td][/tr][/table]