Read buffer variable UC_CAUSE_NR omits 1 value from 10-digit RunId when called in RunTime tab
Article ID: 87912
CA Automic Workload Automation - Automation EngineAUTOMIC WORKLOAD AUTOMATION
Error Message : N/A
The read buffer variable UC_CAUSE_NR omits 1 value from a 10-digit RunId when called from the RunTime tab.
This only happens when calling the script as described below in the investigation section.
A script (in the screenshot SCRI.ACTIVATED.01, red) is activated in the Runtime-Tab of an Object (JOBS.WIN.ACTIVATOR.01). It is called as 'Else execute:' in the 'Definition for ENDED_OK'. The RunId of the caller, &UC_CAUSE_NR, is read in the script and just displayed. It can be seen in the Message Window, that the RunId of the caller has 10 digits. However, only 9 digits are displayed (it is the same for PRINT instead of SEND_MSG).
<Please see attached file for image>
Cause type: Defect Root Cause: The content of UC_CAUSE_NR, UC_CAUSE_STATE, UC_CAUSE_RETCODE variables isn't always written in the same format.