Hi, if i am having more than hunderds of lines in the project or dont know the which type of exception i am going get in that. how i have to handle it?

There are multiple ways to handle exceptions

You can split code to multiple blocks as per the functionality and each block use try catch to handle exception.

Or you can use Global exception handler to handle exception in entire project Studio - Global Exception Handler

But where as if we don’t know the exception type?

Hi @Pushpendra_kowthavarapu

System.Exception will capture all exceptions in the code. Encapsulate code with in the Try catch activity. In catch create an System.exception.

It will handle all exceptions.

Hope it helps!!

1 Like

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