Exception Notification

Hi everyone,

I have my initialize section. Where I am reading an excel file (initialize) and other block for login. Now if I get an exception any of the block then i am doing rethrow that exception so it will come to the main stage of Initialization , there I have added Outlook email notification activity so through which my exception will be sent. My query is how to differentiate that this exception is for login and this one is for excel (if it occurs t reading time) then.

In short, how do i give custom message. Please reply. It’s urgent.


Hi @hemal

You can possibly keep flags (boolean values) for your excel application or Logging in xaml and turn them to ‘true’ if that particular exception is encountered.

Then a simple if condition should suffice to throw your custom exception or send outlook notification.