Linq object reference

Hi ,
I am using a linq expression it’s throwing an error in assign activity and it happens whenever linq returns no data

Hi @Ajay_S1
So yes that exactly happens when there is no data

I recommend you to have an IF condition just before assign activity

Your linq query.count>0

Then only use your assign in then part

Hope this helps
Thanks

Thanks Sir will try it!!

It’s working thank you sir

Great @Ajay_S1

Kindly close the topic

Happy Automation

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