I have one xaml(send mail if no data found) file inside my entire project. I need to run that particular xaml only one time at the end of the day everyday. The entire Bot is scheduled in orchestrator which will run continous for entire day in each intervals but that Send mail xaml(which is already inside the entire project ) should execute only one time for daily basis at the end of the day.
How to implement this?
Create a separate job and schedule the bot to run after end of day(say last run is at 6…then you can schedule after 6)
Use the same as condition in your bot…say your business day ends at 6 then use if condition and check if the time is greatee than 6…at the end and then if yes send email
Thanks for your solution, but i want to avoid the creation of seperate bot for doing that.
and if i go for second suggesion will it not be going to send the mail again and again after 6PM(say), because time will remain greater than 6pm after that.
If there is no end of the day…then add a date asset and always first check if the date is today or precious day…if previous day then send email and then set asset to current day…so evwrytime only once this happens…other times its not the previous day…so no mail is sent
Do this at start of process and send email for all the old items using