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

Throwing a user defined exception from an invoke code activity

$
0
0

How do I throw a user defined exception from an invoke code stage? Something like the following:

image

I would like for it to work like a normal throw:

Instead, it gives me the following generic error message which really doesn’t let me add any details.


As a workaround, I am forced to use an output variable and then an if condition to create a throw. But surely, there must be a more elegant solution?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4395

Trending Articles