Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

Can agents attach files directly to Work notes in Service Operations Workspace?

Release: Australia
DhanarajG
Tera Contributor

Hi everyone,

In our Service Operations Workspace incident view, agents can upload files to the incident through Resources → Attachments. The Email composer also has a paperclip for email attachments.

Is it possible to add a paperclip or file picker directly to the Work notes (Private) composer? We’d like an agent to type a work note, select a file such as a PDF or log, and click Post once. The file should then be accessible from that specific work note in the activity stream and visible only to authorized agents.

Does ServiceNow support this out of the box, or does it require a UI Builder customization? If you’ve implemented it, I’d appreciate seeing how you set it up and which ServiceNow release you used.

1 REPLY 1

yvijay
Tera Contributor

Hello @DhanarajG ,

 

Out of the box

  • Files uploaded from the Attachments icon in SOW show up in the activity stream as a separate upload entry. They are not tied to any work note. One community reply says the native-UI behavior of embedding attachments in work notes doesn't work the same way in SOW.
  • ServiceNow has a doc page, "Document attachments in an activity stream" (Yokohama release), about tracking attached documents in journal fields like work notes or comments. I couldn't confirm it covers the SOW composer, so check it against your release.

Possible customization (require testing in lower instance)

  1. Add a file-picker button in UI Builder. Edit the incident record page variant in SOW and add a custom control next to the composer. If the activity stream composer doesn't expose an extension point, you'd have to build your own composer. That adds upgrade and maintenance risk.
  2. Upload on Post. The button would upload the file through the Attachment API (POST /api/now/attachment/file?table_name=incident&table_sys_id=<sys_id>). The same action would then post the work note with a link to the new attachment.
  3. Link the file to the note. ServiceNow attachments belong to the record, not to a journal entry. The usual workaround is to put a link to the sys_attachment record in the note text. Check how SOW renders that HTML or [code] markup before relying on it.

Visibility
Attachments inherit the read access of the parent incident, so anyone who can read the incident, such as the caller, can see them in the attachment list. Restricting a file to authorized agents needs a custom ACL on sys_attachment, for example a flag or a role check set at upload time. A work note alone doesn't give you that.

 

Help me your release (Xanadu, Yokohama, Zurich or later), I can look for release-specific documentation if there is any feasibility for this .