Hi,
I am struggling to loop array of id’s. Can someone help me with this?
I have tried below node.js but it is not working
// To use previous step data, pass the steps
object to the run() function
export default defineComponent({
async run({ steps, $ }) {
const list = steps.trigger.event.body
for (const item of list) {
console.log(item)
}
}
})