The Counter connector methods increment, decrement, or reset integers as part of an automation Workflow in RPA Desktop Design Studio. All methods have properties that you can update.

Up

Increments an integer by the value that you specify.

To provide input, see Configure port properties.
Table 1. Up method parameters
Parameter Description Data port type Data type Default value Mandatory?
Value Custom integer value Data In Integer 1 Yes

To view or update the properties, see Counter method properties.

Down

Decrements an integer by the value that you specify. The default integer is 1.

To provide input, see Configure port properties.

Table 2. Up method parameters
Parameter Description Data port type Data type Default value Mandatory
Value Custom integer value Data In Integer 1 Yes

To view or update the properties, see Counter method properties.

Value

Returns the value after incrementing or decrementing an integer in the Up or Down methods.
Note: You must execute the Up or Down method before executing the Value method.
Table 3. Up method parameters
Parameter Description Data port type Data type Default value Mandatory
Return Incremented or decremented value Data Out Integer 0 Yes

To update the properties, see Counter method properties.

Reset

Resets the current value in the Value method to null.

Note: You must execute the Reset method after executing the Value method.

To view or update the properties, see Counter method properties.

Example

The following example shows the use of the Counter connector methods.Counter connector methods.