Encountering "Object refernce not set to an instance of an object" error while trying to get data from queue using "Get Transaction Item"

orchestrator

#1

Hi Team,

Iam getting “Object reference not set to an instance of an object” error while trying to get data from queue using “Get Transaction Item”.

I initialized the QueueItem variable to “New Queueitem()” but of no use. Also the ROLES for the robot was updated on “Queues” and “transactions” but of no use.

Could you please help in resolving this error.

Thanks,
Surya.


#2

@surya_rpa, Refer this,

Queue Object Reference error

This happens when there is nothing in queue

Regards,
Dominic :slight_smile:


#3

Hi @Dominic, i used that condition in the decision box. Attached the image for the reference. But In my case, the first time execution of “Get Transaction Item” is failing. However there is data in queue.

Error1

Regards,
Surya