The RITM is open even though the workflow is completed
Release or Environment
Kingston Patch 4
The stage field in the workflow version is empty. It should be pointing to the field in RITM where the workflow stage values should be reflected.
The RITM's are still active is because whenever the "stage" field of the RITM is set to "closed", the RITM will be set to Active "false".
In our case, the stage value of the workflow activity is not reflected in the RITM form and due to this reason the RITM form is not set to Active "false".
I believe the stage value is not reflected the RITM form is because of not mentioning the "stage field" in the workflow versions.
If we look at the workflow version "Server Patching", we could see that the "stage field" is empty.
The workflow version's "stage field" is where we specify, the field in the RITM form, the "stage" value in the workflow activity should be reflected.
Therefore, in our case, we can mention the value of the "stage field" in the workflow version as "stage" (RITM's stage field).