How to check if any transaction item already exist in the queue


Can any one please help me while uploading transaction items to queue how can i check whether this transaction item is already present in the queue.

Anu suggestions??

The easiest way is to enforce a unique transaction reference when setting up your queue


If this has helped you, please mark this answer as the solution.


Hi ,

Use get items to get already available and check if the list contains.

1 Like

Thanks for the reply, Can you please explain what does this Unique reference exactly do? We also have Reference as a property in Add queue item , what does that do?

When you add an item to the queue you can add a reference which identifies this item.
Examples can be an order id, or maybe a mail id or whatever you have to identify this item, ideally a unique identifier. This totally depends on your queue items though.

If you then set your queue to unique reference, you’ll get an error when you try to add a queue item which reference already exists in the queue.

So if you take a look at your queue items, how can you know that an item is already in the queue? You probably see if property X of your item is the same. Use that as your reference.

1 Like

Thanks… That helped :slight_smile:

1 Like

You’re welcome.

If you’d be so kind as to mark the first answer as a solution. This will help other people in the future when searching for similar problems.

1 Like

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