in reply to Re^4: How to get array elements from reference ?
in thread How to get array elements from reference ?

Because it seems that ->GetActiveWorkflows returns an array reference and not an array. Simply assigning to an array does not make the function return an array.