Trying to run a Resource Query within a JS Query for-loop and store each result in an object

Assign the query results to a variable and add await to the front of the trigger function.

const data = await query16.trigger({additionalScope: {curr: table5.data[i].Product}})

1 Like