ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
Variable modifications stay within "Task Properties" if variable deleted from core object
book
Article ID: 84325
calendar_today
Updated On:
Products
CA Automic Workload Automation - Automation Engine
Issue/Introduction
Error Message : N/A
Adding a variable to an instance of an object remains if the variable is modified within the "Properties" window and then the variable is deleted.
Investigation
To replicate this behavior:
Add a variable on the Variables & Prompts tab of a workflow and give it a default value, then save and close the workflow.
Add the workflow as a task of a master workflow.
Open the tasks properties of the sub-workflow and modify the value for the variable (from step#1) on the Variables & Prompts, and save and close the master workflow.
Open the sub workflow object again., delete the variable (which was added in step #1) from the Variables & Prompts tab, then save and close.
Open the master workflow again, look at the task properties of the sub-workflow and view its Variables & Prompts. The variable is still present even though it had been deleted from the sub-workflow's object definition.
Cause
Cause type: By design Root Cause: There is no connection between the instance of an object and the core definition.
Environment
OS Version: N/a
Resolution
This behavior is as designed.
Use a PRPT instead of directly adding to variables within the object itself. These will be removed properly on deletion.