The configuration should be the criteria configuration instead of the custom-enumerator configuration