How to set the activity to just happened once even it meets the conditions for more than two row

Can we try to groupby the delivery info column? in that way, the column having duplicates records will be grouped and will have unique records only and it won’t repeat while checking condition.

For example