I am using REFramework for this. I am creating a dispatcher. So I have data’s loaded into the queue, basically I want “Course Name” and “Requestor” to not have duplicate values. Say for example I have a “Requestor”= Kevin and a “Course Name” = A day in the life of an RPA developer in the queue.
In the next transaction items to be processed:
2) “Requestor” = Kevin , “Course Name” = Best practice → should be able to load to the queue
3) “Requestor” = Winter, “Course Name” = A day in the life of an RPA developer → should be able to load to the queue
4) “Requestor”= Kevin and a “Course Name” = A day in the life of an RPA developer in the queue. → Not possible to load to the queue. Tag as duplicate.
What I tried:
I created a list of objects containing the following
in_TransactionItem(“CourseName”).ToString , in_TransactionItem(“Requestor”).ToString
problem with this approach is if “CourseName” or “Requestor” is present in the queue, it will tag it as duplicate.
For example if Kevin is present, it will always be tagged as duplicate regardless of any CourseName you put and also vice versa.
hello this supposed to be not a problem. Because row 4 or transaction item number 4 is not loaded to the queue yet in this case. It will only be a problem if row 2 has been uploaded to the queue. But Anil_G’s approach solved my concern. Thanks