Hi.
I have small problem. I want to create repeating group. Want to create flow like:
- Click button, invoke api call
- Fetch data from third part api
- Proceed data - some js operations, where result is json (array with objects)
- Use this data to create repeating group
I stucked on point 3 - I am able to get json array, I can show this data as text (json, string (after json.Stringify), bo completely no idea how to do that.
What I tried so far:
-
on click I created workflow to get data from api, then, Toolbox - Run Javascript with my fn, at the end of fn I have: bubble_fn_setState(proceededData);
-
using Toolbox element I tried to set data. In bubble_fn_suffix I set variable setState, then I created workflow: When bubble_fn_setState → set state of Group C
-
Group C is simple group with custom state, list.
-
inside Group C is repeating group. Data source is Group C custom state.
-
then I am trying to get data and show values in repeating group.
What I am doing wrong?