Hi all,
I've built a form that allows users to attach up to 10 photos (1 photo per question). The flow slurps all the data into a template and creates a Word document at the end. The flow works great when all 10 images are in, but sometimes the users don't need 10, and the flow errors out when there are < 10.
Here's the error on the JSON hang up:
Here's one of the Parse_JSONs. There's one for each attachment and then I get content using file path, populate the template, and create the file.
To get around the <10 attachments issue, I've been trying to use a condition to test if there's content for each attachment. If it's not empty, parse JSON and move on, but I can't figure what to do if there is no content. I would like the flow to move on to creating the Word doc with everything it has up to the point where there are no more attachments.
In theory, is the condition the right approach here? And if so, how do I hop down to the populate the Word template?
Many thanks in advance for any guidance!!