Hi gliders!
Am stucking within days in a workflow loop on array of JSON, it doesn’t work(
Seems there is some mistake or limitation in organizing of such loop)
Usecase is I store the Audit Answers in Multiple Files Column (MFC) as an Array of JSON items per each Question of Audit. So there is one row per Audit with stored doughter items (Answers) by Array of (JSON per each Question+It’sAnswer).
I need sometime to rollout this Array of items (Question with Answer) to many rows into helper table for Reporting.
Trying to use a Workflow Loop on source of this Array - trying as MFC and as Make Array Column from it, but both source does not work in the loop unfortunately.
Seems the reason is similar to the past issues i have with a loop Storing and changing values to a variable in webhook Action. Just the difference is we have iteration by stored Array now, not by Rows as we had have that time. That @ThinDinh’s solution works well with Rows, but how to work with Array here?
So the questions
- What should be the better source of this Loop (MFC \ JSON Array \ …)?
- How to get the i-th item of such Source (MFC\JSON_Array) as iteration inside this loop to made Add Rows by each item of Array?
Thank you in advance
===
Example of MFC for one row, in JSON here:
{
[{“rowid”:“hwrqL4bUSFGo5JRLeHk.ow”,“quest”:“What is your first name”,“answer”:“Edgar”},
{“rowid”:“DQEawGxnRIq7OBJWM2dsPQ”,“quest”:“What is your position”,“answer”:“CIO”}]
}