ACTIVATE_UC_OBJECT does not work with objects with trailing numbers in their name

Document ID : KB000088151
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
Error: U4006586 Error found in object 'SCRI.REQ00114296.ACTIVATOR(Process)', line
'1'. ('U1001321 Expecting 'String/Variable' as function parameter '1'.')

If you try to save an object with ACTIVATE_UC_OBJECT where the name of the object contains a leading number, e.g. if a script with name SCRI.REQ00114296.ACTIVATOR contains this line
 
:SET &ACTOBJ# = ACTIVATE_UC_OBJECT(01_TEST_ACT_OBJ)

this error is reported.
 
Error: U4006586 Error found in object 'SCRI.REQ00114296.ACTIVATOR(Process)', line
'1'. ('U1001321 Expecting 'String/Variable' as function parameter '1'.')

If you use a name without a leading number like
 
:SET &ACTOBJ# = ACTIVATE_UC_OBJECT(TEST_ACT_OBJ_01)

no error appears.

If an AE name starts with a number, it must always be enclosed in double quotes. I.e., for the above example, you have to change the command to:

:SET &ACTOBJ# = ACTIVATE_UC_OBJECT("01_TEST_ACT_OBJ")
Cause:
Cause type:
By design
Root Cause: If an AE name starts with a number (e.g. 01_TEST_ACT_OBJ), it has to be enclosed in double quotes. This is as designed, please see documentation: http://docs.automic.com/documentation/AE/10.0/german/AE_WEBHELP/help.htm?product=awa#ucaaeh.htm
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.

Additional Information:
Workaround :
If an AE name starts with a number (e.g. 01_TEST_ACT_OBJ), it has must always be enclosed in double quotes. I.e., for the above example, you have to change the command to::SET &ACTOBJ# = ACTIVATE_UC_OBJECT("01_TEST_ACT_OBJ")