Same TicketId, retrieve the most recent one

0
Hello! I have a list with several objects with ticketIds, some have the same ticketId and I would like in those cases to only consider the most recent one. How can I do that?
asked
1 answers
1

Hi Helga,

 

Thanks for asking your question on the forum. When using the ‘Retrieve from database’ action, you likely used an xPath with something like ‘ticketId=X’. In addition to that, you can set the Range to ‘First’. Last but not least, you need to add sorting on the ‘createdDate’, descending.



Hopefully, this helps.

answered