Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

[FEATURE]: Support GOTO/move back previous Task #3710

Closed
DiyuanZhang opened this issue Jul 27, 2023 · 3 comments
Closed

[FEATURE]: Support GOTO/move back previous Task #3710

DiyuanZhang opened this issue Jul 27, 2023 · 3 comments
Labels

Comments

@DiyuanZhang
Copy link

Feature Request

Allow the workflow to back to the previous task.

My Workflow Definition

My workflow is like task A -> task B -> task C -> task D -> task E -> ...

My Business Requirement

The requirement is when task D is IN_PROGRESS. The user can select to move the workflow back to task B.

My Current Solution

My current solution is when the user selects move back. Our system will call the Terminate Workflow API first and then the Rerun Completed Workflow API(with the reRunFromTaskId being task B).

This solution can work but it will clear previous task B and task C related history from Task List.

Preferred Solution

The conductor can provide an API to allow the workflow to go to the previous task.

@DiyuanZhang DiyuanZhang added the type: feature New feature label Jul 27, 2023
@egandro
Copy link

egandro commented Aug 16, 2023

I am no expert - but that sounds like a

task_a();


variable a = 0

while( a == 0 ) {
  task_b();
  task_c();
  task_d();
  if(!something(user))  {
    a = 1;
  }
}

task_e();

@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2023

This issue is stale, because it has been open for 45 days with no activity. Remove the stale label or comment, or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Oct 1, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2023

This issue was closed, because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants