I have my whole workflow inside try catch, i want to detect anytime it will just stop for whatever reason, even though really its gonna be only if some element could go missing. It looks like this:
I have whole process inside and all i want to get an email about it and create a log so i can go either fix it or restart. To me it seems that this is how it should be i have System.Exception so i believe that is to catch anything but i put another one there sounded maybe it could help. Anyways it doesnt matter it is the same i am not getting anything when this happens. What could be the problem here ?
The whole process is very complex, i am starting of with grabbing one email parsing data and download from links save on disk. from parsed data then using those to fill in website various fields and download other documents on disk and then using another website to upload and etc. Now it is tuned now very well to all possible problems that i have come across it works. But then there was strange thing that suddenly website was logged out (but it really wasnt as in browser in other windows it was ok to log in in repeated process it worked again). One time it just was hanging in there forever…even though element was on page well visible. Its really those very odd situations when it actually stops i want to be notified by email. The process itself is working fine. I wonder why system exception will not notify me for example if an element is not found and workflow stops? Should it?
ok i was using debug mode in studio all the time. So after publishing i run it and even though i come to a point where i put it bad input so that it would stop, it comes to the point hangs in there for a minute or so and does nothing, window closes. And tells me job is done successfully… what the heck?