Length(array) error

I’m trying to get the size of a character array in a simple workflow. When I use length(arr), I get the following error:
Test failed: workflow 459411454730108929 step 8 execution failed: expression "\"length: \" + length(arr)" failed: reflect: call of reflect.Value.Len on ptr to non-array Value

However, the function count(arr, "a") works as expected. Is this a bug, or is it the intended behavior?"


Interesting, if you define the array like this, then it works.
If you properly specify Array (as you should), then it doesn’t.

So definitely a bug. Thanks for reporting it