# Uses of Interface
io.dapr.workflows.client.WorkflowInstanceStatus

Packages that use WorkflowInstanceStatus
Package
Description
io.dapr.workflows.client
io.dapr.workflows.runtime

## Uses of WorkflowInstanceStatus in io.dapr.workflows.client

Methods in io.dapr.workflows.client that return WorkflowInstanceStatus
Modifier and Type
Method
Description
`WorkflowInstanceStatus`
DaprWorkflowClient.`getInstanceState(String instanceId, boolean getInputsAndOutputs)`
Fetches workflow instance metadata from the configured durable store.
`WorkflowInstanceStatus`
DaprWorkflowClient.`waitForInstanceCompletion(String instanceId, Duration timeout, boolean getInputsAndOutputs)`
Waits for an workflow to complete and returns an `WorkflowInstanceStatus` object that contains metadata about the completed instance.
`WorkflowInstanceStatus`
DaprWorkflowClient.`waitForInstanceStart(String instanceId, Duration timeout, boolean getInputsAndOutputs)`
Waits for an workflow to start running and returns an `WorkflowInstanceStatus` object that contains metadata about the started instance and optionally its input, output, and custom status payloads.

## Uses of WorkflowInstanceStatus in io.dapr.workflows.runtime

Classes in io.dapr.workflows.runtime that implement WorkflowInstanceStatus
Modifier and Type
Class
Description
`class`
`DefaultWorkflowInstanceStatus`
Represents a snapshot of a workflow instance's current state, including metadata.