Hi,
I tried to get the value of StatAgentsAvailable back to the strategy, but I need the agents available with a particular skill, and that skill value is held in a variable, "vSkill_1".
I have specified the variable "vCountSkill" to have value "SData[vSkill_1,'StatAgentsAvailable']", but get the following error in logging.....
[code]
_C_W_007101ba16aeb024 [0D:02] there is no any value for option default_stat_server
_I_I_007101ba16aeb024 [10:0d] HERE IS SDATA: General@StatServer_Routing_Primary - StatAgentsAvailable
_M_I_ [10:06] tenant Resources Agent "General": create new statistic StatAgentsAvailable with server StatServer_Routing_Primary
_C_W_ [10:05] config object tenant=Resources type=0 name=General is absent
_M_E_ [10:06] tenant Resources Agent "General": statistic StatAgentsAvailable with server StatServer_Routing_Primary was not created
_M_E_007101ba16aeb024 [10:0d] can not find stat object General[StatAgentsAvailable] for stat server StatServer_Routing_Primary
result of SData: FLOAT: 0.000000
_I_E_007101ba16aeb024 [09:04] error in strategy: 0018 Unknown object
_I_I_007101ba16aeb024 [09:04] ASSIGN: vCountSkill(LOCAL) <- STRING: 0.000000
[/code]
Im thinking it looks as if the strategy is trying to find an agent with the skill name "General", which it will never find, or am I interpreting this wronlgly?
Any suggestions would be much appreciated......