I’ve noticed that if the execution of a UiPath.Database.Activities.Insert inside a UiPath.Database.Activities.startTransaction stops due to any error, the used connections is not closed and DB lock needs to be killed in the DB itself.
Is this an expected behavior? Shouldn’t the lock be dropped once the process execution ends?
Always scrap start transaction activities inside a Try/catct/finally
in catch - use rollback transaction
in finally - ensure the connection is closed/disposed.