This feature allows you to increase or decrease the value of a variable with each pass over the sequence.
If the concept of a variable is totally abstract for you, I advise you to consult the following article before continuing: All about {{…}} variables.
1. Use
Among the construction features, click on “Variables” and then, in the menu that opens, click on “Increment” or “Decrement”.
Let’s create a new sequence with an Increment feature.
We will choose the variable“myVariable” and put in the value field the value 2.
When the bot executes this function, it will add 2 to the value of the”myVariable” variable
Let’s check the result with the help of a Text feature:
Let’s run the bot to see the result:
In this example myVariable initially had the value 5. The value of the variable has changed, it is now 7 (5+2).
The logic of the Decrement feature is identical except that instead of adding a value, we subtract it.
2. Options
A – You can leave a comment to your collaborators about this feature by clicking on the icon (see below).
View Article : Add Comments
B – By clicking on the “?” icon, the online help will open on the article corresponding to this functionality.
C – You can duplicate, delete or move this feature by using the icons that appear on the hover.