Skip to content

An option to filter instances by instanceIdPrefix in DurableClient.getStatusBy() #634

@GuptaSiddhant

Description

@GuptaSiddhant

Currently, DurableClient.getStatusBy() accepts an filters parameter object (type OrchestrationFilter). This filters object have properties: createdTimeFrom, createdTimeTo and runtimeStatus.

My request is add another property instanceIdPrefix to these options. Setting it to a string should filter the instances that have InstanceID starting with provided prefix.

This would allow faster retrieval of orchestrations and sub-orchestrations that have same (pre-set) prefix.

Reference: The functionality to omit output seems to be available in DurableTask HTTP API:
https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-http-api#get-all-instances-status

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Priority 2 item

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions