Empty Data Table + While

Hello all,

I am extracting an empty datatable. While the data table is empty the task should be performed again.

I check if the datatable is empty with:

Variable = DT.Rows.Count.ToString

Then in the while acitivity I have the following condition:

In this case Feiertagscheck is the variable.

It does no go into the while condition. Any Idea what I have to change?

@VLC,

I would suggest to use this condition in while

DT Is Nothing OrElse DT.Rows.Count = 0

In the end it was a bug because the process went into the log message after the while condition and only jumped into the while condition afterwards

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.