Type Into 'SELECT from': Object reference not set to an instance of an object

Type Into ‘SELECT from’: Object reference not set to an instance of an object.

Hi @Shravan_Pintu

If NewItem is the Output variable of Get Transaction Item then Try the below expression,

NewItem.SpecificContent("From Location").toString

Hope it helps!!

Hi @Shravan_Pintu

Check whether data is passing or not in the immediate Panel by inserting a breakpoint at that activity
Also check the variable type

Hope it helps!!

1 Like

@Shravan_Pintu,

I think you are using Get QueueItems activity to get queue Items. In this case SpecificContent would be null.

Follow this article to get specific content.

Thanks,
Ashok :slight_smile:

1 Like

@Shravan_Pintu

Looks like your newitem Itself is empty

Cheers

You are using the Get Queue Item activity.

Could you explain more what you want from Get Queue Item… @Shravan_Pintu

Im using load queues.

can you explain the required steps to follow

im using load queue items, collecting data from excel & automationg bp travel create quote

If your data is stored in Queues and you want to get the data in queues. You have to use the Get Transaction Item activity.

The Get Transaction Item activity will get the data from Queues, you can use that in your process.

Instead of using Get Queue Item activity use the Get Transaction Item activity. Then it will give output. Therefore, you can use the Output.SpecificContent(“Key Name”).toString

Hope it helps!! @Shravan_Pintu

@Shravan_Pintu,

What’s the activity you are using to add queue items?

NewItem.SpecificContent has no value, it has not been initialized. Probably because there are no new items in your queue.

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