Skip to main content

CommonUserServer

Common user-defined code that is merged into each script and integration during execution. You can use this script to define functions that are used by scripts and integrations. For example you can add a common error function for logging which wraps logError and includes extra environment information. Then you can call this function in custom integrations and scripts.

Note: The code is not merged into system integrations. It is only merged into scripts (custom/system) and custom integrations.

Server 6.5 and above: To disable merging the code into system scripts, set the content.oob.script.use_common_user advanced Server parameter to false.

Script Data#


NameDescription
Script Typejavascript
Tagsinfra, server

Inputs#


There are no inputs for this script.

Outputs#


There are no outputs for this script.