Skip to content

Get multiple workflow instances by id (IPersistenceProvider) #261

Closed
@jgoelten

Description

@jgoelten

Hi @danielgerlag

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions