Unable to use getContent method of GlideSysAttachmentIssue Retrieving the contents of an attachment using the reference code for getContent or getContentBase64 at the Developer page instead of returning the content, it returns 'undefined'. ReleaseAll releasesCauseThe issue is related to scoping. The methods from GlideSysAttachment do not work in the global scope. The developer website clearly states: "The APIs below are intended for scoped applications and may behave differently in the global scope."ResolutionSet the application scope in the script or business rule or anywhere you would like to run the script. Please note that the methods to get the attachment content works very well with text documents and may not properly work with images.