Passing the logger object from an inbound email action to the JSUtil script include produces an error stating that the EmailLogger function is not allowed in the global scope. Passing the logger object to other global script includes does not produce an error.

Steps to Reproduce

On a Geneva or later instance:

  1. Create an inbound email action that uses the JSUtil script include to process the logger object. For example:
    gs.log("logging logger" + JSUtil.nil(logger));
  2. Trigger the inbound email action.
    The system displays the error: Error: Evaluator: com.glide.script.fencing.MethodNotAllowedException: Function EmailLogger is not allowed in scope global 


Do not pass the logger object through the JSUtil script include.

Related Problem: PRB663869

Seen In

Fuji Patch 10
Geneva Patch 3

Fixed In

Jakarta Patch 1

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2017-09-26 15:00:43