04-12-2022 07:39 AM
Dear members,
I have the below very basic script that is working just fine.
I'm trying to test a custom jar file "add" that has a basic method "sum" that returns the sum of 2 integers.
Here is the Java class:
import java.util.*;
import java.lang.*;
import java.io.*;
public class add
{
public static int sum(int n, int m)
{
int a=n;
int b=m;
int c=a+b;
return c;
}
}
I created the Jar file and uploaded it to UCCX under Document Management\default \classpath and added it under Selected Classpath Entries
After restarting UCCX Engine Service, UCCX Administration service and UCCX Script Editor, I was able to define a variable of type add.
But as soon as the variable is defined, the script stopped working and if I do Reactive Debugging, I see that the call is not hitting the script either.
I have attached the MIVR logs.
Has anyone faced a similar issue?
Any help is highly appreciated.
05-06-2022 07:31 AM
Hi @ln33147,
It could be a bug. Have you tried searching the Cisco Bug Search Tool? --> https://bst.cloudapps.cisco.com/bugsearch
05-09-2022 12:12 AM
Hello Alex,
Thanks for taking the time to respond.
Turned out that the CCX engine was active on the secondary server and I was testing with the primary one. The issue was solved after restarting the engine on the secondary server.
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