def get_original_taskname(task):
    """
    Obtains the original name of a task instance
    :param task: type DAGTask
        An instance of a Periodic DAG Task to obtain the original task name from
    :return: type str
        The original PeriodicDAGTask's name
    """
    return task.name.split("|")[0]