Need Help in running multiple http node after one another.
Suppose there is http1 , http2 and http3 . I want the workflow to first use http1 and then use http2 and then use htttp3 and then again use http1 and soo on. So I want the http1 and other http node run after completion of other http nodes. no http node should be used before running the other http node if they havent run.
I also want to update page number in the http request after every loop
@ihortom isn’t there a way that before the http nodes I can place a code stating to use http request once and then use another http node and then use another http node after all http nodes are done then use the first one again.
I will have to make 405 request using these sort of so will have to automatically switch between 1 then 2 then 3 then 4 then 5 then 6 then again 1 then 2 and so on with changing page as well
@Arsh_Tyagi , you still can utilize switch combined with $runIndex variable. You have 7 HTTP Request nodes to iterate sequentially with each new iteration. In practice it means using the expression {{ $runIndex % 7 }} and switch with 7 outputs for the values from 0 to 6 (7 outputs).
Something like this
Does it make sense? No?
Here’s some live example how this logic works.
Pay attention how each new iteration engages the subsequent Switch output (to which you will have one of your HTTP Requests nodes connected).