PREP_PROCESS_REPORT doesnt give output if search trigger is on a value with asterik before value (e.g. test*)

book

Article ID: 84760

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine AUTOMIC WORKLOAD AUTOMATION

Issue/Introduction

Error Message :
PREP_PROCESS_REPORT with wildcard filter does not work in every case

Customer tries to get a PREP_PROCESS_REPORT of an output:

:print 'test'
:SET &HND# = PREP_PROCESS_REPORT(,,ACT,"*test")
:PROCESS &HND#
: SET &RET# = GET_PROCESS_LINE(&HND#)
: PRINT &RET#
:ENDPROCESS

and gets no result, only the "print" line within report:

2016-02-29 17:21:40 - U0020408 test

if he runs it on 8.00A, he gets correct output:

2016-02-29 17:21:40 - U0020408 test
2016-02-29 17:21:40 - U0020408 20160229/172140.000 - U0020408 test

if he changes the PREP_PROCESS_REPORT line to

:SET &HND# = PREP_PROCESS_REPORT(,,ACT,"test")

it works.

Cause

Cause type:
Defect
Root Cause: The script function PREP_PROCESS_REPORT does not find corresponding lines if the filter does not end with a wildcard character. For example "*est" did not find a line containing the string "test".

Environment

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

Resolution

The issue was found and fixed with Automation.Engine 11.2.2 in AutomationEngine. The Package is available for download at the Automic-Support-Zone (https://support.automic.com).

Hotfix-Description: PREP_PROCESS_REPORT with wildcard filter does not work in every case

 

Fix Status: Released

Fix Version(s):
Automation.Engine 12.0.0 - Available
Automation.Engine 11.2.2 - Available
Automation.Engine 11.1.3 - already available

Additional Information

Workaround :
N/A