Hashtag symbol # in JOBI cannot be deleted

book

Article ID: 87689

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
U01001308 Variable 'hnd' has not yet been defined.

An extra hashtag symbol (#) in new JOBI object cannot be deleted. This is a random display issue when JOBI objects are opened that varies based on the system. 
In some environments, 3-5 open actions of the object are required for the extra hashtag to appear.

Investigation
1. Create a new JOBI.
2. Add the following lines under the first lines:

:set &hnd#=str_find(&string#,"hello")
:p &hnd#


3. Save.

 

Cause

Cause type:
Defect
Root Cause: The last character cannot be deleted in the script editor. The issue may happen after a copy and paste into the script editor.

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):
Automation Engine 11.2.2 - already available

Additional Information

Workaround :
Restart of the User Interface for the extra # (hashtag) to disappearOrComment the # (hashtag).