6 / 166
Difference between loop & repeat?
LOOP - The LOOP step repeats a sequence of child steps once for each element in an array that you specify. For example, if your pipeline contains an array of purchaseâ€order line items, you could use a LOOP step to process each line item in the array. To specify the sequence of steps that make up the body of the loop (that is, the set of steps you want the LOOP to repeat), you indent those steps beneath the LOOP.
REPEAT- The REPEAT step allows you to conditionally repeat a sequence of child steps based on the success or failure of those steps. You can use REPEAT to:
Re-execute (retry) a set of steps if any step within the set fails.
Re-execute a set of steps until one of the steps within the set fails.
Asked In ::
LOOP - The LOOP step repeats a sequence of child steps once for each element in an array that you specify. For example, if your pipeline contains an array of purchaseâ€order line items, you could use a LOOP step to process each line item in the array. To specify the sequence of steps that make up the body of the loop (that is, the set of steps you want the LOOP to repeat), you indent those steps beneath the LOOP.
REPEAT- The REPEAT step allows you to conditionally repeat a sequence of child steps based on the success or failure of those steps. You can use REPEAT to:
Re-execute (retry) a set of steps if any step within the set fails.
Re-execute a set of steps until one of the steps within the set fails.