You are not logged in.
Announcement
Unanswered posts
|
Pages: 1

Hi,
Please refer below my Job design,
tFileinputexcel - tmap - tjava - tfile output excel 1 - email 1 (tFileOutputExcel_1_NB_LINE>1)
tfile output excel 2 - email 2 (tFileOutputExcel_2_NB_LINE returns null)
tfile output excel 3 - email 3 (tFileOutputExcel_3_NB_LINE returns null)
for each output file I need to verify a condition like "((Integer)globalMap.get("tFileOutputExcel_1_NB_LINE")) > 1"
based on the result I need to send a mail to users.
NB_line is work only if my subjob is ok (ie for one condition tfile output excel 1_nb line)
other 2 conditions the line vale return "null" and I am not able to check the conditions.
Please let me know if any other way to check my condition for Email notifications.
Thanks and Regards,
Manikandan.R
Offline

Hi Manikandan,
use the following code instead:
(globalMap.get("tFileOutputExcel_1_NB_LINE") != null? (Integer)globalMap.get("tFileOutputExcel_1_NB_LINE")) > 1 : falseBye
Volker
Offline
Pages: 1