The code below in the same _init_instance function is suppose to handle the case where task_state is in 'DELETING'... but as you pointed out, the first 'if' block stops the process...
The code below in the same _init_instance function is suppose to handle the case where task_state is in 'DELETING'... but as you pointed out, the first 'if' block stops the process...