V6 equivalent to the v5 findVariableInstancesBy... style mappings

in V5 these find methods are references to queries in the xml mappings is there an equivalent in v6 or do we have to build a query?

I’m not completely sure of your use case, but the RuntimeService does include methods to retrieve variable instances by execution id.
RuntimeService (Flowable - Engine 6.7.0 API)

In this particular instance I am trying to replicate VariableInstanceEntityManager.findVariableInstancesByTaskAndNames and from your hint it looks like I need the TaskService.

Thanks for your help