I have written a code which reads the entries from Excel, Goes to different websites for scrapping the data based on a code.
So main work flow:
Which will invoke different work flows based on the Country codes.
the Individual workflows will scrape the data and will write into an excel.
So say for example the excel contains country codes like :US,IN,UK etc
So if its US it will go to Amazon.com and scrape values and write into an excel and once done it will close the IE browser.
Again will invoke a new workflow and scrape another site say xyz.com and does the same process and so on.
whenever the site is not working or network connectivity issue, the Browser stops working. UiPath throws an error.
So i m passing the Current browser value inside the workflow to main workflow as out argument.
and using a try catch block and close tab to close the browser, but the varible contains nothing in the main workflow.
Yes the inside workflow browser value is passed back to main workflow using out argument.
The plan is say for some country code the sites might not work , so to avoid the workflow to fail, just close the currently open IE browser and start processing next country code till all codes are processed.
Any thoughts or ideas are really appreciated.