Decrement<T>

Decrement<T>

What to use it forPrerequisitesEssential options to set

Use the Decrement<T> Activity in case you need a countdown in your Workflow. Decrement is often used together with a While loop or a DoWhile loop.

 Read more

Decrement subtracts 1 (one) from any integer that serves as an input to this Activity. When you combine Decrement with a loop, you can execute certain Activities until it reaches a lower threshold.

The Increment<T> Activity is similar, but is used for counting up.

A previous Activity that saved an integer to a variable.
  • Number type
  • Integral number

<T>

You want to count down from a certain number. First, indicate from what type of integer you are counting down. You can use any type of integer: Int8, Int16, Int32, Int64, but also other types of integers such as bytes.

Options

Option for indicating which variable contains the number that you are decrementing.

OptionWhat is itHow to use it
Number typeThe type of number that you are decrementing.Select the number indicated <T>.
Integral numberOption to indicate which variable contains the integer that you want to decrement.Enter the name of a variable.

All integer Activities