Issue when the Source contains no datarows

Hi @anon12805641,

The correct way to check if rows exists in a datatable: How to check if datatable has no row - Build - UiPath Community Forum

Solution from @Palaniyappan: dt.Rows.Count = 0 OR dt.Rows.Count>=1

  • Then use Clone to get properties of Master_DT (Clone is only a clone no rows will be found when you clone. It only copies the column types and names to the assigned datatable)
  • Followed by your second Assign Result_DT