VARA entries are not deleted when Workflow is ENDED_NOT_OK

book

Article ID: 87329

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

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.
 

Cause

Cause type:
By design
Root Cause: This works as designed. The values will be deleted automatically when the workflow gets deactivated. This is to enable a restart.

Environment

Release: AUTWAB99000-10.0-Automic Workload Automation-Base Edition
Component:

Resolution

This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.

Fix Status: No Fix

Fix Version(s):
N/A

Additional Information

Workaround :
Deactivate the Workflow or delete the value manually.