is it possible to start the Knime workflow on a specific day in the month? So, it should start on the second weekday of the month not second day of the month, second weekday (so not on a weekend). I want to create a daily schedule but the workflow should fail every day expect on the second weekday of the month. Is that possible with a date&time node?
I entered in the Table Creator the planned execution dates and I want to check with todays date, if the dates are the same. If true the workflow should start and otherwise the workflow should fail. In Knime Server I created a schedule for every day. But the workflow should check if the dates are true. Do you know a node, which is checking if the value is true or false and then the workflow should start or fail? Thank you.
I don’t know a particular node , but i solved once a very similar problem.
Just in my case I was testing if the workflow was already executed in that day.
in you example could be something like this:
1 ) Transform your logic above in a component
2) the last tool of the component would be variable switch
3) if is the condition you want to run the switch goes out side the component
4) If the condition fails does’nt matter. would be inside
5) connect the node on the top o the main flow.
Here , since yours do not execute if the result is an empty table and seems you need a table with inputs, it makes more sense to let the the input table outside the node and take advantage of the empty table switch.
Did some tests seems to be working
So at which node, does the workflow fail? I added my workflow again but with Joiner node and different dates in the input table. In the second workflow todays date is missing and the workflow should fail and I want to get an error message and the excel writer should not write an ouput.
How can I do that?