Forum Discussion

poornayes's avatar
poornayes
Frequent Visitor
3 years ago

URGENT..web.contents in list.generate

I am using web.contents inside List.Generate.

I want to run the loop only when I get response for the first api hit.

 

I meant the loop should only run when it gets response for the previous hit.

 

Thanks,

Poorna.

1 Reply

  • ImkeF's avatar
    ImkeF
    Icon for Community Champion rankCommunity Champion

    Hello poornayes ,
    you can nest your List.Generate function in a condition.

    if (action that checks if you get a response for the fist api hit) then (run the List.Generate) else (do something else)