Hi All,
I would like to know how to handle errors that occur in Stored Procedures which is connected to UiPath Studio using Database activities.
Any Help would be appreciated
Thanks in Advance.
Hi All,
I would like to know how to handle errors that occur in Stored Procedures which is connected to UiPath Studio using Database activities.
Any Help would be appreciated
Thanks in Advance.
Hi,
No error as of now. I’m still in learning stage. So, just wanted to know if any issue is there in Stored Procedure , how to handle from Studio.
Hi @Vaishnav_Tej,
you can follow these steps:
Execute Non Query
activity to execute the Stored Procedure in the database.Try Catch
activity to handle the error that may occur in the Stored Procedure.Try
block, use the Execute Non Query
activity to execute the Stored Procedure.Catch
block, use the Log Message
activity to log the error message.The “Execute Non Query” activity is part of the “UiPath.Database.Activities” package.