1. Create your fields on the business object extension.
2. Create a “Process Extension Scenario”, and check the “Query” services.
3. Add the “Scenario” tag to your fields.
Result: you can now query using your extension fields as parameters via ABSL or UI Designer.