in activiti, for a task that has already been executed, a task that has not been executed can be judged, but there is another state, that is, the task has already been executed, but later, because it has returned to some of the previous tasks of the task because of process selection, the task may be executed again.
how to judge the status of the task? for example, the following flowchart of asking for leave
when it comes to personnel examination and approval, personnel examination and approval rejects the current application and begins to adjust the application task, so personnel examination and approval may be carried out again. How to judge the status change that has already been implemented but may still be implemented?