I'm trying to add the BBMS transaction ID, which is included automatically by Online Express, to gifts received via web view donation and registration forms.
However, every time I try to add it, the Apply to Each control starts nesting itself very strangely, and the flow does not work, giving me an error of “The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each')' is of type 'Object'. The result must be a valid array.” This is despite PA choosing the field as “current item” itself.
This odd nesting ONLY happens when I add they dynamic content field Payments BBPS Transaction ID. Other fields do not cause this issue. Does anyone have an idea why and/or a work around?
TYVM!