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
if %errorlevel% NEQ 10 GOTO :error
echo "There was an error.">>C:\log.txt
echo "Exit the program" >>C:\log.txt
EXIT /B 1
echo "CD_ALL Macro run completed">>>C:\log.txt
The flow attached works correctly through Javelin directly just not through TDM portal.
GT DataMaker 4.8.x 4.9.x
Component : CA Test Data Manager
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.