Description
In the new release of the workflow-core engine you have added the elastic search engine for filtering against different workflow properties. As a result the GetWorkflowInstances(...) service method on the IPersistenceProvider has been obselated while the GetWorkflowInstance(...) still remains active. In my optionion it makes sense to move all the filtering logic over to elastic serach but I'm missing a method to get multiple workflow instances by id:
Task<IEnumerable<WorkflowInstance>> GetWorkflowInstances(string[] ids)
For example, if we have a set of cached or filtered workflow results or IDs, we have to iterate over GetWorkflowInstance(...) one by one to get the WorkflowInstance DTO. Iterating over all ids is not performant.
Is it possible to provide a service method to retrieve multiple instances by a set of IDs?