Guide for JavaScript Class - NPS Version 1.0 Documentation

The global variable of "session","out","user" can be directly applied."source" can be used in trigger.

The prototype of "session" variable is "NpsSession", which records current context.

The prototype of "out" variable is "NpsLog", logs will be written into "nps.log" global files.

The prototype of "user" variable is "NpsUser"

"source" is the source of event.For articles,it's prototype is NpsArticle.