Counter connector methods

reference australia Updated Sep 10, 2026 1 min read counter-connector-methods.md
Raw file servicenow.com

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.

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.

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.

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.[Omitted image "counter-connector-illustration.png"] Alt text: Counter connector methods.

Parent Topic:Counter

Search documentation
Search document titles and file paths on the australia branch