Try catch when a value is not found

Greetings developers, I have a question to ask you.
I’m doing a lookup that looks for a value in one table and inserts it in another. How can I make a try catch that in the value write # N / A when it is not found?

1 Like

Fine
we can simply use a if condition to validate this
like ths output variable of lookup datatable if is out_Str of string type
then
String.IsNullOrEmpty(out_Str.ToString)
if true it goes to THEN part where we can assign with a assign activity with value we want
and this can be done inside the TRY block itself

Cheers @Enzo_Rossetti