Exception Handling for Excel Automation

Greetings to all.

I’m trying to validate two excel files, but if the data isn’t there after the two files are matched, how can I handle the exception for this process?

@Luffy put that activity in Try block of “Try Catch Activity” and put systems exception and put throw activity and give it proper log message.

Another work around:

You can read both excels, figure out the row count and then put a ocndition on the row count and throw the exception with a custom message.

Thanks.

@raja.arslankhan in Catche Block along with log messages what else we can do?

@prateek.mehandiratta9 In Catche Block i want to handle the error more effectively, So what else i can do?

@Luffy You can Send Email.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.