Declarative Action or UI Action not executing properly in Service Operations Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2025 10:54 AM - edited 10-09-2025 10:55 AM
Hi everyone! 👋
I’m currently facing an issue with a Declarative Action (also tested as a UI Action) that works perfectly in the standard UI (UI16) but does not execute correctly in Service Operations Workspace (SOW).
Here’s the situation:
The action is configured to generate and immediately download a PDF using sn_pdfgeneratorutils.PDFGenerationAPI().convertToPDFWithHeaderFooter().
In UI16, the script runs without problems — the PDF is generated and downloaded automatically as expected.
However, in Service Operations Workspace, the behavior changes:
It opens the attachment record page with the PDF name.
The file is saved correctly as an attachment on the record.
But the automatic download never starts.
Has anyone encountered this behavior or found a workaround to force file downloads from Declarative Actions in Service Operations Workspace?
Any insight in Workspaces would be super helpful. 🙏
