You may insert an element <after task-id="..."/> into any task that needs to be executed after foo…
Note that on using the software will automatically determine the order of execution such that intermediate outputs are created before they are required as inputs. Intermediate values and “after” elements can be used in parallel.