Scan pending & active queue for dependencies
Provide helper function to get objid from task instance