DUPLICATE_OBJECT function creates unnamed object
search cancel

DUPLICATE_OBJECT function creates unnamed object

book

Article ID: 398872

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The DUPLICATE_OBJECT script function in Automic Automation. When providing an empty string as the target name, the function creates an object without a name. This unnamed object cannot be opened or deleted via the Automic Web Interface (AWI).

The following script reproduces the issue:

:SET &target_object# = ""

:SET &retcode# = DUPLICATE_OBJECT(&target_object#,"OBJECT_TO_BE_DUPLICATED","/FOLDER/SUBFOLDER")

:PRINT &retcode#

This behavior is not expected and appears to be a bug in the DUPLICATE_OBJECT function

Environment

21.x, 24.x

Component: Automic Workload Automation

Sub-component: Automation Engine

Cause

DE167897

Resolution

Update to a fix version listed below or a newer version if available.

Fix version:

Component(s): Automation Engine

Automation.Engine 21.0.14 - Available
Automation.Engine 24.4.1 - Available
Automation.Engine 24.5.0 (SaaS only) - Available