Hi,
I'm trying to find current information on adding custom workflows/microservices to Archivematica.
https://www.archivematica.org/wiki/Creating_Custom_Workflows_0.9_alpha is the latest I can find. I know of
https://www.archivematica.org/wiki/MCP, and while it explains how microservices work, it doesn't have the same how-to focus as the previous document.
One use case that illustrates our interest in adding a custom workflow is grabbing a copy of the PDF/A generated from an ingested PDF. Basically, we want to save a copy of the PDF/A created as part of the existing normalization workflow to a location outside of Archivematica's watch directories (like /var/thesispdfas) and give the copied file a specific path and name based on a value in the transfer's Dublin Core description. I would see this task as fitting between the "Normalize" and "Process submission documentation" microservices in the list at
https://www.archivematica.org/wiki/Archivematica_1.0_Micro-services.
I know we can get the PDF/A out of the AIP or create a DIP using the tools provided, but that seems like overkill if all we want to do is just get a copy of a single file. The Python script we'd write to copy the file out would be very simple but we're more interested in how we register the script as a microservice and having it fire when we want it to.
Thanks,
Mark
Mark Jordan
Head of Library Systems
W.A.C. Bennett Library, Simon Fraser University
Burnaby, British Columbia, V5A 1S6, Canada
Voice:
778.782.5753 / Fax:
778.782.3023 / Skype: mark.jordan50
mjo...@sfu.ca
Please do not send attachments that contain people's
handwritten signatures. Email is ridiculously insecure.