example-instancescan-checks icon indicating copy to clipboard operation
example-instancescan-checks copied to clipboard

Unable to use engine.current in Linter check

Open niamccash opened this issue 3 years ago • 1 comments

App scoping issue - warning in the logs:

java.lang.SecurityException: Method returned an object of type GlideRecord which is not allowed in scope x_appe_exa_checks Caused by error in Linter Check: 'Linter check name here' at Line 4

niamccash avatar Oct 03 '21 23:10 niamccash

This is unfortunately true, this check needs to run in global for now. The Scope restriction is being worked on for a future release.

phifogg avatar Oct 04 '21 07:10 phifogg