Skip to content

Workflow Reset: add logic of determining the reset point to the service #1338

@mfateev

Description

@mfateev

Is your feature request related to a problem? Please describe.
tctl workflow reset supports reset_type argument. The ResetWorkflowExecution gRPC API accepts only workflow_task_finish_event_id. So all the logic of finding reset point resides in the tctl. This makes the logic not reusable when SDKs invoke reset operation directly.

Describe the solution you'd like
Move logic of finding reset point to the service by adding reset_type argument to ResetWorkflowExecutionRequest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions