Hi, I have an email output block in the DataManager.
I would like this block to only publish on a specific day during the week. However the file refresh will run daily. Also the XML file after the file has refreshed and saves call another XML and I would like this to continue.
How do i get the email output block to only publish on a Friday?
I have tried custom validation in the Validate Data block and to fail if not a Fri, but such failure then stops the dependent XML running even if i don't have "propagate failure" in the XML.
Yes that's correct, but I think this is the best approach.
If another user looks at the scheduler and they see that the file is published every day there would be no indication that the file infact contains it's own logic to publish every Friday. It's better to hold all scheduling logic in the scheduler and not in the IOK file.
If you want to change it to run on a different day, again it is not obvious that you need to open the IOK file to make the change.
In the scheduler you can configure which blocks you want to publish. You could use a single IOK file, with one schedule to run every day and one to run on Friday's.