cancel
Showing results for 
Search instead for 
Did you mean: 

Ensuring unique entries in work queue

Hi, I was wondering if anyone knows of a way in which I am able to limit the items that can be added from a collection to a work queue based on what is already available in the work queue? To give you an example, currently I'm using the mapie action 'list emails withing datetime' to get a collection of mail ID's which I add to a work queue, I want to always make sure that the mail ID only gets added once. Running the action again will again add mails to the queue without looking at which mails are already in there. My question is: how can I make sure that I do not add duplicates? I already use the mail ID as an item key in my queue but I haven't found a way to make new entries not add when the item key is the same as an item already in the queue... Thanks!
2 REPLIES 2

Denis__Dennehy
Level 15
Hello, I can recommed you look at the Process Examples which are distributed alongside the Process Template (whith which you will be familier) . One of the Process Examples is all about adding work to the queue and includes an example of a flow checking the queue for duplicates before adding to the queue.

Wow I totally overlooked that work queue action. Thanks for the tip!