I saw several similar threads here, but I could not find a solution to my issue.
I use the following command in order to find an outer join - entries that are not available in both DTs:
(From t1 In in_dt_availabeFiles.AsEnumerable() Group Join t2 In dt_processedFiles.AsEnumerable() On t1.Field(Of String)(“Vorhandene Dateien”) Equals t2.Field(Of String)(“Bearbeitete Dateien”) Into tg = Group From tcheck In tg.DefaultIfEmpty() Where tcheck Is Nothing Select t1).CopyToDataTable()
Sometimes it happens, that the entries coincide. Then I get an error message and my WF crashes. How could I prevent the bot from crashing?