I have a requirement where an XML document containing multiple invoice records come in. I need to split it into multiple invoices which is easy using data process shape. Next I want to combine these invoices by date. I mean all invoices with same data should be combined. For example if I have 10 invoices and if 5 have date 03/12/18 and 4 have 03/11/18 and 1 is 03/10/18, then I should see three documents after combining. One document combined with date 03/12/18, one with 03/11/18 etc. I could have used route shape, but because I do not know what the dates are going to be I cannot use a specific data value in route shape. Any ideas?