Hello all, I was hoping for advice on how to best access the answers collected upon a user completing a questionnaire using the questionnaire module. I thought the export to xml button would be what I was looking for, but that just saves the xml of the questions themselves. I know the results tab exists and shows the results, but in this module, is there a built in way to capture all these responses for use elsewhere? I'm asking in the hopes to not have to re-invent the wheel and go about writing something custom. Thanks in advance to everyone who has some advice to offer.
Hi Adam, create a before commit microflow on the Questionnaire entity. Then this microflow should call the sub flow GetQA (already in module) to get all the results. Then iterate over results and convert them into whatever you need.