ID Provider Driver integration with Userapplication


I’m getting the following error when i tried to deploy the solution for the IDprovider in the workflow
We are using Web logic to host the userapplication

2018-05-10 23:25:27,778 ERROR [RBPM] [] Error Evaluating Script Error Evaluating Script com.novell.soa.script.mozilla.javascript.EcmaError: TypeError: getNextID is not a function.
2018-05-10 23:25:27,779 ERROR [RBPM] [] [Workflow_Error] Initiated by cn=jimmy.john,ou=People,o=Event, Error Message: Dataitem [MAP0] with expression [BuildDN();^M
function BuildDN() {^M
var idpip = “”; // Read the DS GCV for the IP^M
var idpp = 1199; // Read the DS GCV for the Port^M
var ue =,idpp,’AccessID’,’ID-Provider Driver’,’3′); // (ip, port, policy, client-id, trace)^M
return ue; //return DN^M
}] failed to evaluate.

What may be the issue?
Do we need to do a restart of the weblogic instance?

Thank in advance,