A try to add dynamic dependencies

Now how do I access the tasks to be scheduled?
Seems like I cannot put the tasks on the queue...