Script Function MODIFY_STATUS_TEXT fails if Parameter is too long

book

Article ID: 87677

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
U00020792 Runtime error in object ‘', line '00001': Value of paramter '1' too long. Allowed length is '32'.

The script function MODIFY_STATUS_TEXT fails if the parameter is too long (> 32 characters) and an U00020792 error is thrown.

In v10 and previous versions, setting the status text to a string longer than 32 characters did not result in an error, the text would simply be truncated at 32 characters.  Beginning with v11, if a status text is longer than 32 characters a runtime error message similar to the one above is returned.

In the fix versions listed below, the behavior has been improved and now script functions with parameters longer than 32 characters are truncated and an information message is added to the activation-report.

 

Cause

Cause type:
By design
Root Cause: Behavior has been improved where script-functions with very long parameters resulted in a runtime error instead of truncating the parameter like in previous versions.

Environment

Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition
Component:

Resolution

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

Fix Version(s):
Component(s): Automation Engine

Automation Engine 12.0.1- Available
Automation Engine 11.2.4 - Available

Additional Information

Workaround :
N/A