How to pass variable from Try to Catch

Try
For Each row
row
Catch
Write Line = row

It seems like the datarow ‘row’ in Try is null in Catch. Is there a way to pass variables or share?

@Daun

Catch, will only show something if there’s any error. Can you share your xaml ?

Put Try Catch block inside for each

1 Like