COUNTER
Overview
The COUNTER workflow application allows you to easily manipulate a counter in a loop.
How it works
The application requires the COUNTER
parameter, which will be incremented or decremented depending on your choice.
Parameters
Parameter | Type | Direction | Description |
---|---|---|---|
| NUMERIC | IN | Counter to manipulate |
| NUMERIC | IN | Counter default value; defaults to |
| NUMERIC | IN | The increment value; defaults to |
| TEXT | IN | Indicates whether the counter should be reset to the default value |
| NUMERIC | IN | Indicates whether the counter should be reset when the specified value is reached |
| TEXT | OUT | Returns |
Examples
Single increment
IN
Parameter | Value |
---|---|
|
|
OUT
Parameter | Value |
---|---|
|
|
Simple decrement
IN
Parameter | Value |
---|---|
|
|
|
|
OUT
Parameter | Value |
---|---|
|
|
Simple reinitialization
IN
Parameter | Value |
---|---|
|
|
|
|
OUT
Parameter | Value |
---|---|
|
|
|
|
Reset to a specific value
IN
Parameter | Value |
---|---|
|
|
|
|
|
|
OUT
Parameter | Value |
---|---|
|
|
|
|
Reset when target value is reached
IN
Parameter | Value |
---|---|
|
|
|
|
|
|
OUT
Parameter | Value |
---|---|
|
|
|
|