'Get valid workload options from array.
:param array: the array serial number
:returns: workload_setting -- list of workload names'

def get_workload_settings(self, array):

    workload_setting = []
    wl_details = self.get_resource(array, SLOPROVISIONING, 'workloadtype')
    if wl_details:
        workload_setting = wl_details['workloadId']
    return workload_setting
