Java API overwriteLinks parameter of ImportObjects shows wrong behavior

book

Article ID: 84505

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
N/A

For the following constructor method:
 
ImportObject(java.io.File exportFile, IFolder folder, boolean overwriteObject, boolean overwriteLinks)

The overwriteLinks Parameter of the ImportObject Java API Constructor shows the wrong behavior.

Accoding to the Documentation the behavior is:
overwriteLinks - If true Folderlinks will not be kept

The actual behavior is:
If the parameter overwriteLinks is set to false: all existing links are deleted
If the parameter overwriteLinks is set to true: all existing links are kept

Cause

Cause type:
Defect
Root Cause: Parameter behavior was incorrectly implemented

Environment

OS Version: N/A

Resolution

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

Fix Status: Released

Fix Version(s):
Component(s): Application Interface

Automation Engine 12.1.0 - Available
Automation Engine 12.0.2 - Available
Automation Engine 11.2.6 - Available

Additional Information

Workaround :
If you want to keep the links, set the parameter to true.
If you want to delete all links, set the parameter to false.