Description
Increases the counterName by 1 and returns the value. The counters are saved in the UTI_POSTSERVER_COUNTER table. If the counter with the counterName name does not exist in the UTI_POSTSERVER_COUNTER table, a new counter is created. The first value of a counter is 1.
Parameter |
Value |
---|---|
counterName |
Name of the counter to be stored in the table UTI_POSTSERVER_COUNTER. |
Return value
The returned value is a counter value as a String.
Example:
<xsl:variable name="TPCOUNTER" select="utiapi:getCounterAndIncrease('TP_STATION')" />
<xsl:variable name="TPKEY_NEW" select="concat('222222-MV-ST-',stringutil:leftPad($TPCOUNTER,4,'0'))" />