Generally, you can use
triggers to influence state dependencies. But can you share more? What do you see in your logs? Pending usually means waiting for execution, i.e. waiting to be picked up by an agent
Generally, those are the condition for a task run to be able to move from Pending to Running state:
• the downstream tasks must be finished
• the current task must be in Pending state
• the trigger function (default: all_successful) must return True
Is any of those conditions not satisfied?