def workload_status(val):
    """
    Return the status of each of the profiles that are being generated 
    for the workload.
    """
    db_manager = DBManager()
    workload_status = "Something went wrong."
    try:
        workload_status = db_manager.get_workload_status(val)
    except Exception, e:
        print e
        raise e