This element executes its child elements in sequence, one by one, each time it's called. You can decide how often it will check if its child elements have been executed, i.e. once per request, session, or installation.
Optionally, you may also put elements in a "Done" flow that will run if the Queue element is read again, but has already executed its elements in the given scope.
If the Should reset property evaluates to true, the queue will reset and read the first element.
If instead of reading the Done flow you want to start the queue over, toggle the Wraparound property to true.
The Element Queue is similar to the Element Randomizer, difference being that the Queue executes its elements sequentially.
When you have elements you wish to run in sequence, one by one, while having control over how often they run, and with an additional flow in case they've been executed.
Elements flow.Done flow which will run if the Queue element is read again, but has already executed its children.Should reset property, if true, will force reset the queue to start from the beginning.Wraparound property dictates whether to re-read the queue again after all elements have been exhausted.Scope type governs how "often" the queue will run, if Should reset is empty or evaluates to false or Wraparound is not checked or evaluates to false. This essentially means, "run every member of the queue once per installation/session/request".
You can completely skip certain elements of the queue based on certain criteria by using an If Element. To do this, place an If Element in the queue, and then place whichever element(s) you want to conditionally run inside the Then flow.
If the Test of the If Element evaluates to true, then its Then flow will be run by the queue. Otherwise, the entire If Element will never be taken into consideration for execution.
NOTE: Placing anything into the Else flow, and/or placing Else If elements inside the If Element will ALWAYS execute the If Element, i.e. it will never be skipped.