Error Message :
The Script function "SYS_USER_NAME" and predefined variable "&$USER_FL#" do not return the entire user name if a space is used.
Using a space truncates the rest of the first and / or last name.
- Connect to the AWI or Java GUI and edit your user object to add a second first name and/or a second last name.
For example if your first name is "John" change it to "John James" and your last name is "Doe" change it to "Doe Doe".
- Then add a SCRI object with the content below:
:SET &LOGLN# = SYS_USER_LNAME()
:PRINT "Login information: User's first and last names are &LOGLN#."
Expected: Both :PRINT lines should return "John James Doe Doe".
Actual: Both return "John Doe" only.
Root Cause: Script function SYS_USER_LNAME does not return the full name if SPACES are used in first or last name. Value is cut after first space.
Update to a fix version listed below or a newer version if available.
Fix Status: In Progress
Automation Engine 12.2.0 - Planned release date: 2018-06-19
Automation Engine 12.1.2 - Planned release date: 2018-05-21
Automation Engine 12.0.5 - Planned release date: 2018-05-07
Automation Engine 11.2.7 - Available
Use "_" to separate names. For instance " John_James Doe_Doe".