Please anyone just help me with this scenerio…In this scenerio user will run the bot on a daily basis bot will basically open the NSE website and download the specific PDF from that website and then it will extract the data from that downloaded PDF’s and then it will paste the extracted PDF’s data in mail body and it will mail it to user…So if bot does not found any pdf for that day in NSE website so it should mail the user that no data found for today,How can i do this?
You can check whether the BOT has downloaded the file or not, using an activity called ‘File Exists’. It will return a true/false boolean value, based on which you can decide your workflow. If the result is false, you can send exception/blank data mail.
Hope this helps,
Best Regards.
But it is creating txt file but inside that text file if there is no data pasted then how this activity will work? I mean if no pdf is there in the website and bot is creating the file,what if it is creating blank txt?
It is creating a txt but sometimes if no PDF’s are there in website then also it is creating the same name txt but how can i send the email with the help of that file?when there is no extracted data in that file
Read the text file and get the rows count, if row count is less than 1 which means there is no data in the file.
Thanks!!