Reference > Expressions > Built-in Functions > System Functions > GetCounterValue

GetCounterValue

Returns the current value of the specified counter. For information on counters, see Using Counters.

Syntax

GetCounterValue(counterName)

Enabled for

Search/Dashboard No
Business Rules Yes
Quick Actions Yes
Workflow Objects Yes
Reports No

Parameter

counterName Name of the counter for which you want to retrieve the current value.

Return Value

Text value.

Example

$(GetCounterValue("IncidentNumberCounter"))

If the value of the IncidentNumberCounter counter is 10043, the above example returns 10043.