Nested calculated fields can't be retrieved from a scriptIssue Values on calculated fields are showing up empty when fetched via background scripts. For example: The background script below will return empty when run from the scope of x_test_table. The same script will return the right value when run from global. var current = new GlideRecord("x_test_table");current.query();while (current.next()) {gs.info(current.name);} Note: Name above is a calculated field and uses some function like below. (function calculatedFieldValue(current) {return "Name" + current.test_field.getDisplayValue(); // return the calculated value})(current);CauseThe issue is caused by the use of keyword "current" in the background script.The same keyword "current" is used in the calculated field and that is causing a conflict when the script is run.ResolutionUse some other variable instead of the keyword "current" in the background script like below and it will give the expected output. var record = new GlideRecord("x_test_table");record.query();while (record.next()) {gs.info(record.name);}