-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Description
Search before asking
- I had searched in the issues and found no similar issues.
What happened
version 3.1.7
I want to stop the workflow with 'sub_process' task, but the workflow still 'ready stop' and 'sub_process' task still running.
Task state should be 'kill' instead of 'stop', cause TaskExecutionStatus only admit 'kill':
public boolean isFinished() {
return isSuccess() || isKill() || isFailure() || isPause();
}
public boolean isKill() {
return this == TaskExecutionStatus.KILL;
}
What you expected to happen
Stop workflow with 'sub_process' task
How to reproduce
- create A workflow with a shell task which will sleep 100s.
- create B workflow with a sub_process task which point to A workflow.
- start B workflow.
- after few seconds, stop B workflow instance.
Anything else
No response
Version
3.1.x
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct


