Script include assistance

GabeF
Tera Contributor

This is the Script Include, the call breaks on the console.log statement.

It executes the prototype statement but then exits

1 REPLY 1

Jennifer Metz
Giga Guru

Hello @GabeF,

 

Replace console.log with gs.info('PhotoshootSlotChecker Loaded');

 

When using a scoped application, server side logging requires you to use the following:

  • gs.debug() – detailed debug output

  • gs.info() – general informational logging

  • gs.warn() – warnings

  • gs.error() – errors

 

I recommend reviewing Debugging Best Practices on the developer portal. 

 

I hope this helps!

 

Jennifer Metz
Sr. ServiceNow Developer | Infosys