Allow pass array as workload