Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

How to throw exception then continue

$
0
0

@dari_donkuro wrote:

I am stuck on executing rest of code after throwing exception. Basically, I am using Element exists activity with the “Try” block of a try/catch activity to determine if user’s entry was found in combobox. The next activity in the sequence is an IF activity which throws BusinessRuleException if the value from Element exists is false, else it selects the element. In the catch block of the try/catch, I am catching BusinessRuleException.
The issue is, execution stops at the “Throw” activity, so, the catch block never executes.
What I am trying to achieve is, throw exception then catch it in the catch block to handle other business logic.

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>