[resolved] tFileExists component not working as expected.
tFileExists showing subjob ok even the file doesn't exist. have job where i generate a excel file, upon file creation i am doing the following MainJob -->subjob ok --> tFileExists --> Subjob Ok -->tSendemail --> subjob ok --> tFileCopy When the main job doesn't generate any file the tFileExists still shows as ok and goes on with email and file copy. And every time file copy fails due to no file present in the folder. I am also using context for file path and file name for creating, file exists check and file copy. Is this a bug or i am doing something wrong.
Thank you very much, that worked, i used ((Boolean)globalMap.get("tFileExist_1_EXISTS")) in the if condition, and when it is true the email and filecopy will trigger, when false do nothing.