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


  1. Login a pre-Jakarta instance

  2. 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));

  3. 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 


The workaround on pre-Jakarta P1 instances is to 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:2019-06-27 06:20:20