Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
@jcoutin wrote:
Hello,
Set a variable with tSetGlobalVar :
key : "the_date"
value : TalendDate.getDate("MM")
Plug a trigger "run if" from the tSetGlobalVar to your job with this condition :
("06").equals(((String)globalMap.get("The_date")))
In this example the job will run if the current date is in month june.
JC
Thanks for the solution, I also need when the month is different. Instead of month equals to June I need month different from June. Can you help me?
Please add a not condition as a wrapper function.
Relational.NOT(true)
eg:- Relational.NOT(<your existing condtion>)
Warm Regards,
Nikhil Thampi
Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂