The problem may come up where you need to read data from an attachment file in your ServiceNow environment. This is made pretty simple by utilizing the ServiceNow GlideSysAttachment API. Let’s crack open a workflow and create a run script, or maybe even a “Fix Script” for testing.
During your development in the ServiceNow platform, you may encounter the need for data to be uploaded to the server, and manipulated, but not stored as records in a user created table, or any of the pre-built tables. This post is specifically designed for users wanting to add JSON or any attachment file to a record in a table through a workflow.