if I run this Javelin workflow through a tile in CA TDM portal (after creating data pool using Data Maker and exposing it), 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.
The portal monitors the environment.Exitcode variable for failures.
TRM 4.8.X 4.9.x
Component: CA Test Data Manager