u pass the 

javasript: new script_include_name.methode_name()

If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

Just to reiterate: you only call scriptIncludeName().methodName() if you have defined a class for your script include. Deepthi, you have written a classless script include so you need to call it as you were:

javascript: getDupes()

To confirm, you definitely need to have the client callable box ticked in order to call this in a report condition.

View solution in original post

sorry,

yes correct

call

javascript:getDupes();

thanq David Dubuis for remember me

 
 
If my response helped please mark it correct and close the thread.

Thanks,
Rahul Kumar

Thank you 

pawan k singh
Kilo Sage

If you have created the Script Include in ServiceNow version "Washington" and above make sure, you have checked the "Sandbox enabled" Checkbox. This will work.

 

Please mark my answer helpful if it helped you.

Sandboxed Enabled.png

Regards

Pawan K Singh