Add an integer variable
An integer is a whole number such as 987 or 5. Use integer values to represent complete objects and processes that cannot be subdivided, such as the number of calls waiting or the number of agents on duty. An integer is an eight-byte value, which means that it can hold positive or negative numbers of practically any size. Flow runtime supports values from -999999999999999 to +999999999999999 for an Architect integer value. An integer variable has an integer value at runtime, but an expression of 999999999999999 + 1 will cause an error because the result is >999999999999999.
Add an integer variable to a task sequence
In a task sequence, you can add an integer variable to an Update Data data action. For example,
- From the Toolbox, expand the Data category and drag an Update Data action to the desired location in the task.
- In the Name field, add a meaningful name to describe the item.
- Click Add update statement and select Integer.
- In the Variable Name field, type the label to identify the variable on tasks.
- In the Value To Assign field, do one of the following:
- To set the value from literal mode, click the + or – button to select the desired value.
- To set the value using an expression, click the expression button and do one of the following:
- Add the expression inline.
- Click the Edit Expression button to open the Edit Expression Editor and build your expression.
- To optionally add another variable, click the Add update statement button.