10-10-2017 03:00 AM - edited 03-14-2019 05:37 PM
hello, I have a dynamic variable
Call.PeripheralVariable4
I want to get the value dynamic from "formula editor: SkillGroup.PG2.SK_FMX_COM_N1.LoggedOn for example
so I use concatenate("SkillGroup.PG2.",Call.PeripheralVariable4,".LoggedOn"),but with this function , I can get just a string "SkillGroup.PG2.SK_FMX_COM_N1.LoggedOn", but not the value
Can you help me? Thank you .
Solved! Go to Solution.
10-13-2017 07:24 AM
Wait, what is the meaning of PG2 in your syntax?
Is the enterprise of your skill groups is PG2.SkillGroupName ?
If so you should set use some new variable, like Call.user.temp, for example, which you'll use to set the following: concatenate("PG2.",Call.PeripheralVariable4)
And then, in your IF node do like this:
SkillGroup.{Call.user.temp}.LoggedOn
If the PeripheralVariable4 already contains the "PG2." at the start of the string, so you don't need to do the above and you can just do it like that:
SkillGroup.{Call.PeripheralVariable4}.LoggedOn
10-10-2017 05:51 AM
Unless this has changed in 11, this is not possible. Search the forum for it, this comes up every few months.
david
10-10-2017 08:37 AM
Yes,it is 11.5, can you tell me how to get the result from this func.thanks
10-10-2017 12:10 PM
Pretty much sure it didn't change in 11.5, I think I even tested it few month ago.
The correct syntax is working only in "If" nodes, not in "Set" nodes.
In "If" nodes you can write like that: SkillGroup.PG2.{Call.PeripheralVariable4}.LoggedOn
Don't understand this logic, if they implemented it in "If" nodes so why not in "SET"....
10-13-2017 06:24 AM
10-13-2017 07:24 AM
Wait, what is the meaning of PG2 in your syntax?
Is the enterprise of your skill groups is PG2.SkillGroupName ?
If so you should set use some new variable, like Call.user.temp, for example, which you'll use to set the following: concatenate("PG2.",Call.PeripheralVariable4)
And then, in your IF node do like this:
SkillGroup.{Call.user.temp}.LoggedOn
If the PeripheralVariable4 already contains the "PG2." at the start of the string, so you don't need to do the above and you can just do it like that:
SkillGroup.{Call.PeripheralVariable4}.LoggedOn
03-08-2021 12:31 PM
I hate to bump super old threads, but I have a UCCE 12.0 install and do not see an option to have a dynamic SG. I have it for PQs (PQ.{}.x), but not for SGs. Am I missing something?
david
03-08-2021 06:28 PM
03-09-2021 06:36 AM
No, I've seen that you can dynamically reference a SG inside a queue to SG node, but what I'm trying to do is the same thing as the OP mentions. IF DynamicNameofSG.LoggedOn check. @Slavik Bialik makes it sound like it's possible, but I just can't find how it is. I've checked UCCE 11.0, 12.0 and 12.5 and none allow a way to reference a dynamic SG in an IF node.
david
11-20-2023 03:07 AM - edited 11-20-2023 03:07 AM
Hi David,
Were you able to get "IF DynamicNameofSG.LoggedOn check" working? In case of no, does anyone know a workaround or if there is an enhancement requested?
Thanks
11-20-2023 07:50 AM
It does not work nor is there an enhancement request. The workaround is to move to Precision Queues
11-20-2023 06:14 PM
11-21-2023 04:18 AM
You could always submit an enhancement request to get things started. Not sure if it will gain much traction considering how long this has been an issue, but you never know.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide