Hi, I have the expression below that might throw an error if none found.
childrenDownload.First(Function(x) x.get("text").ToString = "Download")
However, instead of using a Try Catch block, what’s the syntax to write it all in one assign activity? Iferror()
doesn’t seem to work unfortunately. I’m looking for something like this:
assign
result = try childrenDownload.First(Function(x) x.get("text").ToString = "Download") catch exception, result = nothing end try
Is this possible? To reiterate, I don’t want to use a Try Catch activity, I want it in-line