ServiceNow files in applications
Summarize
Summary of ServiceNow files in applications
ServiceNow files are digital documents and assets stored within the ServiceNow AI Platform that support various application and workflow functions. These files—such as documents, images, spreadsheets, PDFs, videos, and archives—are attachments linked to records across the platform. Metadata about these files is stored in thesysattachmenttable, while the actual content resides in thesysattachmentdoctable. Files represent user-generated or system-generated content, distinct from application metadata that defines the platform’s configuration and behavior.
Show less
Key Features
- File Types: Includes common formats like PDFs, Word, Excel, images (PNG, JPEG, GIF), video, audio, and ZIP archives.
- Storage: Managed within dedicated tables ensuring separation of file content and metadata for efficient handling.
- Attachment Association: Files can be attached to any record such as incidents, change requests, or knowledge articles.
- Programmatic Management: APIs and scripting allow creation, reading, updating, and management of attachments, enabling flexible integration and customization.
Key Outcomes
- Enhanced Record Documentation: Attachments provide supporting evidence, screenshots, or detailed documentation directly linked to records, improving context and resolution.
- Improved Knowledge Management: Attachments embedded in knowledge articles enrich content with detailed instructions and reference materials.
- Workflow Automation: Files can trigger or participate in automated workflows, such as processing uploaded spreadsheets or auto-generating reports attached to records.
- Service Catalog Integration: Users can upload required documents during service requests, streamlining fulfillment processes.
- Data Import and Integration: Files facilitate bulk data imports and serve as outputs from external system integrations, enhancing data handling capabilities.
ServiceNow files are digital documents and assets stored within the ServiceNow AI Platform that serve various purposes across applications and workflows.
What are ServiceNow files?
In ServiceNow, files are attachments that can be associated with records in the platform. These include documents, images, spreadsheets, PDFs, and other file types. ServiceNow stores file metadata in the [sys_attachment] table, while the actual file content is stored in the [sys_attachment_doc] table.
Files are distinct from metadata
The fundamental difference between files and metadata is that application files are user data or content managed within the platform, while application metadata is the platform configuration that defines the application's structure, logic, and behavior. Metadata is what developers and admins configure to build applications; files are what end users and processes upload or generate within those applications.
Application file examples
- Documents (PDFs, Word files, Excel spreadsheets)
- Images (PNG, JPEG, GIF)
- Videos, audio files
- ZIP archives
- Any other uploaded file content.
How are files used in applications?
Files in ServiceNow applications serve several key functions:
- Record documentation
- Files can be attached to incidents, change requests, knowledge articles, and other records to provide supporting documentation, screenshots, or evidence. For example, a user reporting an IT issue might attach a screenshot showing an error message.
- Knowledge Management
- Knowledge base articles often include attached PDFs, images, or other documents that provide detailed instructions or reference materials for end users and support teams.
- Workflow automation
- Files can trigger or be part of automated workflows. For instance, a business rule might process an uploaded spreadsheet, or a workflow could generate and attach reports to records automatically.
- Service Catalog
- When users request services through the service catalog, they can upload required documents like purchase requisitions, approval forms, or specifications that are then processed as part of the fulfillment workflow.
- Integration and import
- Files are used to import data into ServiceNow (like CSV imports for bulk updates) or as outputs from integrations with external systems.
The platform provides APIs and scripting capabilities to programmatically create, read, update, and manage attachments, making files a flexible component of custom ServiceNow applications.