I have a file with current week date in a folder like CWF03232020 and dispatcher bot applies some formula on this file and completes.
This happens both on Monday and Tuesday. If the bot processed the file on monday, i don’t want the bot to apply formula on that current week file on Tuesday.
I plan to upload the current date in queue along with each transaction data and get the top 1 from the queue to find out if the dispatcher bot uploaded the data for this current week. If so i won’t process the file on tuesday. Can anyone help me to find out this logic from queue?