Afficher des messages
System.out.println("Step : " + globalMap.get("tLoop_1_CURRENT_VALUE"));
System.out.print("[ " + TalendDate.formatDate("hh:mm",TalendDate.getCurrentDate()) + " ] - Step : " + globalMap.get("tLoop_1_CURRENT_VALUE") + " - ");
System.out.println(TalendDate.formatDate("yyyy-MM-dd",TalendDate.addDate(TalendDate.getCurrentDate(),-(Integer)globalMap.get("tLoop_1_CURRENT_VALUE"),"dd")));
// Decalre Java Variable
String runmth = TalendDate.formatDate("yyyy-MM-01", TalendDate.addDate(TalendDate.addDate(TalendDate.getCurrentDate(), -1, "dd"), -(Integer)globalMap.get("tLoop_1_CURRENT_VALUE"), "MM"));
// Add to Global Map
globalMap.put("runmth", runmth);
// Print Running Month
System.out.println("MTH : " + (String)globalMap.get("runmth"));
"//192.168.20.49/tracking_max_3sims_derc/tracking_max3sim_derc_S" + TalendDate.formatDate("w",TalendDate.addDate(TalendDate.getCurrentDate(), -7, "dd")) +"_" + TalendDate.formatDate("yyyyMMdd",TalendDate.getCurrentDate()) + ".xlsx"
.