Hello!
Abort dependent task check rules, I think the current implementation is
problematic.
E.g. check logic: this week
The current implementation:
1.get this Monday
2.the date list of this Monday to current date(asc order)
3.Iterate through the list of dates in sequence to check the status of all
process instances. There is a failure, the ultimate is failure state.
I think, the check logic should be:
1.get date range, start date and end date
2.if type is DEPENDENT_ALL
query the first process instance in reverse order, check this instance
state.
3.if type is non DEPENDENT_ALL
query the first task instance in reverse order, check this instance
state.