How to delete all process istances which are not canceled

Hi guys,

i would like to use the new batch delete feature from camunda 7.6.

I would like to delete historic process intances which are ended before a defined time and which were not
canceld.

Greetings,

Carsten