mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
blocked statuses are ignored when done statuses are checked
This commit is contained in:
parent
0c67a85ce7
commit
ca165f6139
1 changed files with 6 additions and 1 deletions
|
|
@ -148,7 +148,12 @@ class NextTaskUpdate(BaseEvent):
|
|||
continue
|
||||
|
||||
parents_task_status = statuses_by_id[parents_task["status_id"]]
|
||||
if parents_task_status["state"]["name"].lower() != "done":
|
||||
low_state_name = parents_task_status["state"]["name"].lower()
|
||||
# Skip if task's status is in blocked state (e.g. Omitted)
|
||||
if low_state_name != "blocked":
|
||||
continue
|
||||
|
||||
if low_state_name != "done":
|
||||
all_same_type_taks_done = False
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue