Hello,
I would like to extract data from a json object that I get from a source that uses xapi.
I am interested in the test results for each task. The following json object contains one task called "Kaufvertrag". The score reached was 3.
I got the score out with this code
outputs('Parse_JSON')?['body']?['xapi'][6]?['result']?['score']?['raw']
I cannot be sure that the result will be in the sixth element of ['xapi'] and in future I want to get out the results of more than one task and write the data into a table with a column for each task.
My end goal is to get the
Name and the score of all the tasks that were "answered".
I don't know if we could maybe create a new array of objects that contain the name and score of all the tasks that were done. Then I could match the array to the database that I need to enter into.
I'm open to any and all solutions.
Thank you guys!

Report
All responses (
Answers (