Hierachical task call in uvm environment

In reply to dipling:

The question is why are you defining a task you need in sequence somewhere else?
If this is common task you can define it in a package. You can import it in any place where ou need this task.