[ARA] DM Execute Application Workflow - Action Pack - Does not correctly extract Execution ID

book

Article ID: 129550

calendar_today

Updated On:

Products

CA Continuous Delivery Automation - Automation Engine

Issue/Introduction

The Action DM Execute Application Workflow in the Action Pack PCK.AUTOMIC_DM does not correctly extract the Execution ID in Post Process.

When the report is like this:
DMTool: PARAM: skipifinstalled = NO 
DMTool: PARAM: package = 1.0 
DMTool: ExecutionId: 222256 
DMTool: =======================
The post process should be like
:SET &value# = "" 
:SET &hnd# = PREP_PROCESS_REPORT(,,,"*ExecutionId: *") 
:PROCESS &hnd# 
: SET &line# = GET_PROCESS_LINE(&hnd#,1) 
: P &line# 
: SET &value# = MID(&line#, 22) 
:ENDPROCESS 

:PSET &UC4RB_RM_OUT_EXECUTION_ID# = &value# 
:PUBLISH &UC4RB_RM_OUT_EXECUTION_ID#,,"TOP"
And not like:
:SET &value# = "" 
:SET &hnd# = PREP_PROCESS_REPORT(,,,"ExecutionId: *") 
:PROCESS &hnd# 
: SET &line# = GET_PROCESS_LINE(&hnd#,1) 
: P &line#
: SET &value# = MID(&line#, 14) 
:ENDPROCESS 

:PSET &UC4RB_RM_OUT_EXECUTION_ID# = &value# 
:PUBLISH &UC4RB_RM_OUT_EXECUTION_ID#,,"TOP"
Meaning the current post process script does not take into account that the report contains DMTool: in the beginning of each line.

Environment

Release:
Component: APKTDM

Resolution

Bug confirmed and fixed:
  • A problem has been fixed when some output results are not written after execution finish.
Fixed in: