Currently there is no way to identify what version of a workflow is running in the workflow engine. When a workflow is activated it should always include a variable with the workflow version.
This work has two main components:
1) Mod Workflow needs to be modified to ensure that the version property is added to all deployed workflows as a process variable.
2) This will also require edits to the FW CLI to pass up the fw-registry commit hash as the version tag for all built workflows.
Version Tag property on w/f
(commit hash of the deployed w/f)
Currently there is no way to identify what version of a workflow is running in the workflow engine. When a workflow is activated it should always include a variable with the workflow version.
The property that must be populated is here: https://github.com/TAMULib/mod-workflow/blob/main/components/src/main/java/org/folio/rest/workflow/model/Workflow.java#L40
This work has two main components: 1) Mod Workflow needs to be modified to ensure that the version property is added to all deployed workflows as a process variable. 2) This will also require edits to the FW CLI to pass up the fw-registry commit hash as the version tag for all built workflows.
Version Tag property on w/f (commit hash of the deployed w/f)