Fetch by query in DAML templates

Is there an equivalent function to queryFilter while fetching contracts within a template choice?

Hi @gtpaulose1,

There is not. In an Update context, you can only fetch by contract id, fetch by key, or lookup by key.

Is this is in the roadmao? Smart contract automation becomes very cumbersome otherwise because i have to use an off-chain API to perform the query before interacting with a choice