This activity can only be used in Microflows.
The Counter activity can be used to increment a metrics counter by a specific value.
An example of counter properties is represented in the image below:
There are two sets of properties for this activity, those in the dialog box on the left, and those in the properties pane on the right.
The Counter properties pane consists of the following sections:
3 Action Section
The Action section of the properties pane shows the action associated with this activity.
You can open a dialog box to configure this action by clicking the ellipsis (…) next to the action.
You can also open the dialog box by double-clicking the activity in the microflow or right-clicking the activity and selecting Properties.
The name of the counter whose value you want to increment.
The value used to increment the counter’s value. Values are specified with expressions and should be of type Integer/Long. It is only possible to increment the counter, so values cannot be negative.
You can specify a list of tags to enrich the counter name with key/value pairs. See Tag Naming on the Micrometer site for more guidance on using tags.
4 Common Section
For more information on properties in this section, see Common Properties.