Repeat / Loop Until condition is met


#1

Hi there,

Is there an option to do a loop until a condition is met and then exit the loop

I want to make a shortcut for reporting changes in quantity of pallets and sizes for work.
Like shortcut asks for:

  1. quantity of pallet

  2. the the size of the pallets

  3. return to step 1 until quantity input is 0

  4. continue with the rest of the shortcut

I am stuck on the Repeat until loop.

Rob


#2

Think of it as a recursive loop and note that custom Shortcuts can be recursive.

Design your shortcut so it can be directed to a particular loop, or simply make an initial hand-off to a separate shortcut to handle the recursive loop.

Hope that helps.