Read buffer variable UC_CAUSE_NR omits 1 value from 10-digit RunId when called in RunTime tab

book

Article ID: 87912

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

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.


Investigation

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>

0EMb0000001Qufp.png

Cause

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.

Environment

Release: AUTWAB99000-11.0-Automic Workload Automation-Base Edition
Component:

Resolution

Update to the fix version listed below or a newer version if available.
 

Fix Status: Released

Fix Version(s):
Automation Engine 12.0.0 - Available

Additional Information

Workaround :
Use script function SYS_ACT_PARENT_NR to get the RunId of the activator.

Attachments

1558692597659000087912_sktwi1f5rjvs16lru.png get_app