ServiceNow

"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSE
ServiceNow kaotic 9mo ago 100%
Trying to send an email with GlideEmailOutbound()

Hoping for a little help here. I'm trying to use [GlideEmailOutbound()](https://developer.servicenow.com/dev.do#!/reference/api/vancouver/server/no-namespace/c_GlideEmailOutboundScopedAPI) to send an email. It works from the global scope, but I get the error `com.glide.script.RhinoEcmaError: Cannot find function addRecipient in object` when using it from my scoped application. ``` var mail = new GlideEmailOutbound(); mail.setSubject("Subject"); mail.addRecipient("me@example.com"); mail.setBody("Body"); mail.save(); ``` Looks to me like the global scope has access to a different version than my scoped application. Is there a way to get access to the global version from within my scoped app?

2
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearSE
ServiceNow jono 1y ago 100%
Cascade CI Business Criticality

Does anyone know if there is an OOtB solution to set the business criticality of each CI based on the business criticality of the service(s) it supports?

1
0