Is it possible to create a Version of an Object by a Script?
search cancel

Is it possible to create a Version of an Object by a Script?

book

Article ID: 238954

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

We activated the Version-Management in UC_CLIENT_SETTINGS (VERSION_MANAGEMENT = Y).
In case a static VARA is modified manually, the new version of the object is being created. But in case the static VARA is modified by script (for example using :PUT_VAR), the new version is not being created.

Is there a way to create this backup version manually after each change of VARA?

Environment

Release : 12.3.X

Component : AUTOMATION ENGINE

Resolution

This is working as per design.
If VARA object is modified externally(not in the object itself) the new version is not being created though you enable the VERSION_MANAGEMENT.
Also, it is not possible to create the version of an Object through script other than the EXPORT/IMPORT functions which exports the object as XML file and imports the XML file into Automic.