The source contains no datarows fixes?

Currently in my email variable i put in something that not exisit in the excel where it give me Assign: The source contains no datarows

where i use an Try/Catch to say there if no datarow found it tell the user however now i am getting back the same error why ??


You can convert it to an array

Use if condition

Intimate the user



Can you try just Run or RunfFile OR turn on ContinueOnException with debug mode?

It may be good to press Continue button, too.


1 Like

okay that funny run file or run works but debug file i get that lol!

1 Like

General pattern to handle it defensive:

:ambulance: :sos: [FirstAid] Handling of The source contains no DataRows exception - News / Tutorials - UiPath Community Forum

1 Like

yes this works i was actually at this just now in the forum when i search through

for those people who faced some problem

hope it helps to anyone who faced the issue

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