TAMULib / mod-workflow

Apache License 2.0
0 stars 0 forks source link

As a workflow manager I want to be able to identify the version of a deployed workflow #125

Open jeremythuff opened 9 months ago

jeremythuff commented 9 months ago

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)