layout | status | adr | title | deciders | date |
---|---|---|---|---|---|
page |
accepted |
0002 |
JSON-encoded workflow |
The core of Archivematica is a server application that coordinates work across multiple workers. The collection of related tasks (also known as workflow data) is stored in the application database using a relation model.
Introducing changes to the workflow data is hard because the model is clumsy and convoluted. Changes to the data are delivered as data and schema migrations which are difficult to implement and they add risk to the process of upgrading the software.
Additionally, we want to add full internationalisation support in order to make the system more attractive to a wider range of users and increase adoption. We need a simpler mechanism to deliver translations and other workflow data changes in general.
We've only considered one option - this is the interim JSON-encoded workflow document generated by the json_links module.
- Archivematica 1.9 will implement the proposed solution replacing the existing database tables.
- We do not currently intend to expose the ability to modify the workflow data to Archivematica users - but this may change in the future as the solution matures and becomes interoperable.
- The visualization and manipulation of the workflow data will be facilitated by a new tool that we're calling amflow.
- Main issue in GitHub: #1101.
- List of possible improvements to the original JSON-encoded workflow documented proposed.
- First analysis done back in 2016.
- The amflow repository.