Subvar's Usage is broken when used in a SET SUBVAR condition containing spaces around equal character
search cancel

Subvar's Usage is broken when used in a SET SUBVAR condition containing spaces around equal character

book

Article ID: 282353

calendar_today

Updated On:

Products

CA Automic Applications Manager (AM)

Issue/Introduction

Within the Substitution Variables Selector Window, highlighting a Subvar and selecting the Usage button will show the places where the Subvar is being used.

However, if you define a SET SUBVAR condition which contains spaces around the = sign, the Subvar does not get referenced by the Usage button.

Example:


Removing the spaces allows the Usage button to show the reference correctly.

Note: The condition Triggers normally and the Subvar does get updated with the spaces. 
Note: The documentation link below does state that the following at the bottom of the page: "The name must start with a '#' sign, cannot contain blanks, and can be up to 30 characters long. Do not put spaces around the '=' sign"

https://techdocs.broadcom.com/us/en/ca-enterprise-software/intelligent-automation/applications-manager/9-5-1/Development_Guide/Working_with_Substitution_Variables_and_Replacement_Values/Defining_Static_Substitution_Variables.html

 

Resolution

Edit the SET SUBVAR Condition and remove the spaces around the '=' sign

In a future version of Applications Manager, spaces will not be allowed around the equal sign.