Sitelet https://github.com/microsoft/durabletask-java/issues/204
Skip to content

Improve isRunning() implementation for OrchestrationMetadata #204

Description

@andystaples

Currently, isRunning() relies on the name, instanceId, and runtimeStatus parsed from the OrchestrationState returned over gRPC to determine whether the orchestration is running, however, there is also an Exists field on OrchestrationState that should also be considered, as runtimeStatus is populated from an enum with a default value.

This may also affect the implementation of isCompleted() and/or isInstanceFound()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Priority 2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions