[Improve] Fix typo on ProcessServiceImpl (#15817)

This commit is contained in:
旺阳 2024-04-09 14:38:47 +08:00 committed by GitHub
parent 66df5d4b90
commit 5050a8e1e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -798,7 +798,7 @@ public class ProcessServiceImpl implements ProcessService {
// recover tolerance fault process
// If the workflow instance is in ready state, we will change to running, this can avoid the workflow
// instance
// status is not correct with taskInsatnce status
// status is not correct with taskInstance status
if (processInstance.getState() == WorkflowExecutionStatus.READY_PAUSE
|| processInstance.getState() == WorkflowExecutionStatus.READY_STOP) {
// todo: If we handle the ready state in WorkflowExecuteRunnable then we can remove below code