Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: vma on February 20, 2012, 02:50:02 PM
-
Hi,
Can anyone tell me if it is possible to create a script to include in a VAG all agents that have skill A but not the ones that have skill A and skill B in the same time.
Thanks,
Mihai
-
Something along these lines?
Skill("A")>0 & Skill("B")<=0
Or am I still half asleep and misunderstanding the issue?
-
your example will group up all agents having skill A and B.
Here is an example of what I need:
Agent 1 has skillA=10 so he has to be in group
Agent 2 has skillA=10 but also SkillB=10 so I don't want him in the group
So something like SkillExists("A") & [color=red][b]![/b][/color]SkillExists("B") but this is wrong.
Thanks,
Mihai
-
I see.
My example relied on the skill level, and not the existence of skill.
If you look more carefully, I am checking to see
if SkillA is bigger than 0 (in other words exists) AND if SkillB is less or equal to 0 (doesn't exist)
So Agent 1 with SkillA = 10 will be in this group
Agent 2 with both skills A and B will be out (because SkillB is required to be less or equal to 0).
Is this not the desired outcome?
-
It could work but this would mean I have to add skill B with value 0 to everyone that shouldn't have this skill.
I mean your expression requires both agents to have both skills otherwise agent1 is not selected since he is missing skill B.
-
You are correct. A fairly unfortunate side effect it seems. Just tested to confirm, too...
However, I do have good news :)
Please, use ~SkillExists("skillname") to eliminate the skill completely 8)
-
awesome genesys expert is awesome :)
exactly what I needed! Thank you very much!
There is no reference to ~ in the documentation tho, or I couldn't find it.
Thread closed :)
-
Hi vma,
You can find list of supported command and syntax related to Virtual Agent Groups in Stat Server User's Guide.
R.
-
[quote author=vma link=topic=6948.msg30168#msg30168 date=1329761580]
There is no reference to ~ in the documentation tho, or I couldn't find it.
[/quote]
Page 164 of the 7.6 StatServer UserGuide (Chapter 8 Virtual Agent Groups):
Note: You can define any number of logical expressions of either type as a value for the same option, as long as these expressions are correctly joined by logical operators & (logical AND), | (logical OR), [b]~ (logical NOT)[/b], and (...) parentheses for changing logical operators’ priorities.