EzeScan WebApps

Increment Counter Stage

This stage increments an authority server counter.

This stage returns the following metadata:

Property

Description

Example Placeholder

outputValue

The full output value of the counter.

{{stages["increment-counter"]|property("outputValue")}}

currentValue

The numerical value of the counter.

{{stages["increment-counter"]|property("currentValue")}}

prefix

The prefix value of the counter.

{{stages["increment-counter"]|property("prefix")}}

requestId

The guid that was sent to generate the counter value.

{{stages["increment-counter"]|property("requestId")}}

idCounterName

The name of the counter that was incremented.

{{stages["increment-counter"]|property("idCounterName")}}

Use this stage in combination with the Update Metadata stage in order to persist the new counter value.

View an example
image-20230613-034308.png
Stage setup to persist the incremented counter
image-20230613-034352.png
Update Metadata stage mapping values