Hi Team,
I have a requirement where a user clicks a document download link (using a!documentDownloadLink()), and the document downloads normally. However, I also need to capture some backend audit details, such as:
a!documentDownloadLink()
isDocumentDownloaded = true
The challenge is that the user is only clicking the download link — there are no additional buttons or actions that trigger a process model or write to a database.
I also understand that download links do not directly trigger process models or write events, so I cannot perform backend logging from the link itself.
Is there a best way to achieve this requirement, or any recommended alternative pattern to track the user and timestamp when a document is downloaded?
Any guidance, suggestions, or example patterns would be appreciated.
Thanks in advance!
Discussion posts and replies are publicly visible
Using a!documentDownloadLink() it is not possible to log audit details into database. Here is a similar post you can refer for suggestions about alternatives : community.appian.com/.../need-to-update-audit-in-table-while-clicking-a-safelink