12-21-2018 08:25 AM - edited 03-14-2019 06:41 PM
I'm currently using UCCX Express 10.5 and I can't seem to find how to split a String variable. Every time I tried to use the reactive script I get a message saying it can't be reach like when I do something bad in the script. I'm posting my script here so if anyone can tell me what I'm doing wrong I would appreciate. I'm trying to split my openinghours that I get in a XML that are seperated by a ","
Thank you
Solved! Go to Solution.
01-08-2019 01:32 PM
12-21-2018 12:02 PM
Is this TimeCheck.aef script being called as a Subflow from another script? If so, you cannot reactive debug subflow invoked scripts; thta's just a limitation of the Editor.
Instead, you can use Active Debug, which you can start by pressing F5 or F10 on your keyboard; there are also buttons in the tool bar for this too, as seen in my screenshot below.
The way you split a string is already in your script: variable.split(delimeter).
The one tricky piece is that you cannot validate that this is correct, because you cannot debug it.
01-08-2019 12:46 PM
Hey Anthony,
Thank you for the quick comeback and sorry for the late answer back. I tried using your script and trying the active debugging and this is the error I get when I press the F5 to start the script :
Java extensions are not licensed to support method invocations (line1, col 1); nested exception is:
com.cisco.expression.ExpressionLicenseViolationException: Java extensions are not licensed to support method invocations.
If I remove the .split function the script doesn't give me that problem. Is there any workaround that ?
Thank you for the help.
01-08-2019 01:32 PM
03-09-2019 07:04 AM
Hi Anthony
could you please give me some directions on splitting up the below string. Im doing a SOAP request and response that im getting a string back
03-12-2019 10:08 AM
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