VARA entries are not deleted when Workflow is ENDED_NOT_OK
Article ID: 87329
CA Automic Workload Automation - Automation Engine
Error Message : U0003715 The specified scope: '0001897595' of Workflow session variable: 'VARA.TEST' must be the RunID of an active Workflow.
When a Workflow adds one or more values to a VARA with the scope "Workflow session - each Workflow session" and the Workflow is canceled or aborted the value of the VARA will be deleted if the Workflow is not yet deactivated. This is done to enable a restart of the Workflow.
Once the Workflow is deactivated in the Activities window the value is deleted from the VARA.
If you attempt to delete the value via a script without deactivating the Workflow first you will recieve the above error message.