RPA cannot run a whole process but it can run from some activity until the end

Hi!

I have a difficult problem that seem like a simple problem but I cannot solve it

The probem is that RPA cannot run a whole process , and it has an error at ‘if activity’
it shows : " If: Object reference not set to an instance of an object. "

but RPA can run from a Read range until the end of process so it makes me confused so much

PS. ‘dtANS’ it comes from read range activity

You can ask me for more information.

Thanks,

Object reference not set to an instance of an object" typically occurs when you’re trying to access or use an object or variable that has not been initialized or is null Can you check the dtANS

@Nattawadee_Srisai

Hi

  1. Include a breakpoint in if activity
  2. Run in debug mode
  3. Once bot reached if activity it will stop and check with locals panel and see whether any value is there in datatable

U will get the reason why
Cheers @Nattawadee_Srisai

I already checked the variable of dtANS, I set it at an outermost scope