Hi,
I have a pre launch hook, that conditionally changes the status of a task, to “In Progress”.
It works all right, the Event Viewer immediately shows the log confirming it is done, and the Task Progress tab shows the new status.
But the Overview tab never refresh itself to show that new status.
Even if I switch to another project and then to the original project again, it is still displayed as the old status.
I need to force a manual refresh (F5 in Chrome) to see the new status.
Is there something I could add to my code, to force the Overview to refresh ?
My code looks like this (shown heavily cut here, but ayon_api.update_task is really the last line) :
class ModifyTaskProgress(PreLaunchHook):
def execute(self):
ayon_api.update_task(project_name = projectName, task_id = myTaskid, status = "In progress")
My Ayon server’s frontend and backend are the latest version available today (and everything else is also up to date).