How to push values to an array

While pushing values to a multiple value field using an workflow, what would be correct syntax? Or how can I append values to an array using an iterator? It would be really helpful if anyone can help with the syntax. Thanks in advance.
Note: I did use the push(input), but it didn’t work correctly in my case.

How did you use the push? You should use it in an expression step in the iterator body.

Thanks for replying @jfortun


I used this format, and it didn’t work

Note: assigned_sr is a multiple value field, and it’s field type is user selector

That is the wrong format, look at the docs for the push function.
https://docs.cortezaproject.org/corteza-docs/2024.9/integrator-guide/expr/fnc-reference.html#_pusharray_elements

1 Like

Thanks a lot, it works now,