Script Function MODIFY_STATUS_TEXT fails if Parameter is too long
Article ID: 87677
CA Automic Workload Automation - Automation EngineAUTOMIC WORKLOAD AUTOMATION
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 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.