Adds current workflow state to dmsf_files show.api.rsb

The get /dmsf/files/<id>.<format> response as provided by
DmsfFiles#show and app/views/dmsf_files/show.api.rsb will be extended
by the current state of the approval workflow. This makes it possible
to forward a document to another plattform in case the workflow is
approved.
This commit is contained in:
Liane Hampe 2025-01-21 12:19:01 +01:00
parent 73d3afabfd
commit bda53615ff

View File

@ -34,6 +34,7 @@ api.dmsf_file do
api.dmsf_workflow_assigned_at r.dmsf_workflow_assigned_at
api.dmsf_workflow_started_by_user_id r.dmsf_workflow_started_by_user_id
api.dmsf_workflow_started_at r.dmsf_workflow_started_at
api.dmsf_worklfow_state r.workflow_str(false)
api.digest r.digest
render_api_custom_values r.visible_custom_field_values, api
end