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.

Java API overwriteLinks parameter of ImportObjects shows wrong behavior


Article ID: 84505


Updated On:


CA Automic Workload Automation - Automation Engine


Error Message :

For the following constructor method:
ImportObject( 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 type:
Root Cause: Parameter behavior was incorrectly implemented


OS Version: N/A


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.