“Create as Array” checkbox in Output Type does not always create an array variable.
Article ID: 87544
CA Automic Workload Automation - Automation Engine
AUTOMIC WORKLOAD AUTOMATION
Error Message :
U00021719 Syntax error object 'WS.OBJECT.TASK', line '00004'. 'U01001345 Variable 'myArray#' has not been defined as an array.'If the 'Create as Array' checkbox is checked and the result of parsing a JSON Response only returns 1 value, the variable created is not created as an Array and the above error is displayed.
Checking the box should force the creation of an Array even with only 1 value. Reference
Root Cause: Check is done for an array with length of 1 and treats it as a String rather than a String  whether the array checkbox is set or not
Release: AOMBOA99000-3.0-Automic-Operations Manager-Business Objects Agent
This field was added on 30/03/2017. This article has not been updated yet. Refer to the "Description" or "Workaround" sections for solution information.
Fix Status: Released
RA Web Service 4.0.0 - Available
RA Web Service 3.2.1 - Available