Caused by error in JavaScript Probe at Line 1 new Test();

adiddigi
Tera Guru

We are trying to call a simple MID Script Include, but we are getting the above error. The XML is looking something like this
[code]
<?xml version="1.0" encoding="utf-8"?>Evaluation error: Caused by error in JavaScript probe 'Check' at line 1

==> 1: new Test();


[/code]
I have checked if the Access Controls on MID server script includes has MID role, and it does.But still all I get is this error.

The MID script Include is this



var Test= Class.create();

Test.prototype = {
initialize: function() {

this.check = probe.getParamenter('check');

},
type: "Test"
};


I am calling this Script Include from a Business Rule.


Please help me troubleshooting this.

Thanks!

3 REPLIES 3

adiddigi
Tera Guru

We fixed it ourselves. There was a Script Include which was inactive.


Hi, Could you please lemme know what was the script include which you have activated for fixing this error?

Harshinya1
Mega Guru

Was any one able to resolve this issue?