ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

When using Javeling Flow through GT DataMaker the process does not fail correctly.

book

Article ID: 199130

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

if I run this Javelin workflow through a post-process step in a dataset publish in GTdatamaker the Job is getting ‘Completed’ instead of ‘Failed’.


Below is the .bat file content. I am trying to fail the .bat file explicitly giving Exit code as 1 or anything apart from exit code 0 which signifies batch success. 



echo "Start creating CD_ALL.xlsx">>C:\log.txt
cscript C:\MergeAll.vbs
if %errorlevel% NEQ 10 GOTO :error

GOTO :success
:error
echo "There was an error.">>C:\log.txt
echo "Exit the program" >>C:\log.txt
EXIT /B 1


:success
echo "CD_ALL Macro run completed">>>C:\log.txt
EXIT 0

The flow attached works correctly through Javelin directly just not through TDM portal.


Environment

GT DataMaker 4.8.x 4.9.x

Component : CA Test Data Manager

Resolution

Currently, TDM GT DataMaker does not take any action on Javelin work failures or environment exit codes set.
It only registers if the Flow is run or not.