Counter Component
The Counter c lets you record events. Each time the component receives an input event, it increases or decreases the counter from a configurable base value.
When you add this component to an automation, the system places it on the Global tab of the component tray. For more information, see Adding Global Components to an Automation. This component must be global to be referenced by other automations in the project.
This table lists the main properties and methods of the Counter component. For more information, see General Component Properties Methods Events.
Properties
Property |
Description |
Value |
The value of the Counter component. |
Methods
Method |
Description |
Parameters |
Result Type |
Decrement |
When this method is called, the value is decreased by one. |
None |
Int32 |
Decrement (1 param) |
When this method is called, the value is decreased by the step parameter amount. |
step Int32 |
Int32 |
Increment |
When this method is called, the value is increased by one. |
None |
In32 |
Increment (1 param) |
When this method is called, the value is increased by the step parameter amount. |
step Int32 |
Int32 |
ResetState |
Resets the counter to its initial value. |
None |
Void |
Related information
Privacy | Trademarks | Terms of Use | Feedback
Updated: 01 July 2024
© 2016 - 2024 Pegasystems Inc. Cambridge, MA All rights reserved.