Assign Activity:- "Object reference not set to an instance of an object"

Which activity will I have to do to extract the email ids from the Queue ?
I did the Assign Activity, but an error message is coming there “Assign: Object reference not set to an instance of an object.”

Hi @Mohasin_Abasaheb_Mulani

Before referring specific content of the queue item, are you getting the transaction from queue first using Get transaction item activity?

This error refers to the null or empty queue item.

@Mohasin_Abasaheb_Mulani

First Point ensure that QueueItem having the data or not, if its available check whether that Email key is available or not, or any spell mistakes in that key.

Use debugging feature by pausing the execution and checking the variable whether it having the data or not for every activity output.

Happy Automation!!

@Mohasin_Abasaheb_Mulani

Run in debug mode..which you are already doing

When paused open locals panel and check the variables values from there

Cheers

@Mohasin_Abasaheb_Mulani,

Add if activity before processing the queue item to check if queue items is returned by Get Transaction activity.

Put this in if condition
QueueItem IsNot Nothing

This will ensure that only when the queue item have the value then only it will process it.