How to loop the call for each element in array where each iteration takes element value as a call parameter

My question:
I have an array of strings. I need to make an API call for each string in that array, and each call will take the string as a value in the call parameter.

Details (like screenshots):
This doesn’t work for me:

const test = [“RbfyRcPtaV”, “yxTGK0pSfu”, “BVIuTsZRki”, “fpc0jHL36x”]

test.forEach(element => {
postman.setEnvironmentVariable(“userId”, element);
postman.setNextRequest(“Loop Post Parameter”);