Updated: May 13, 2016
Applies To: System Center 2012 SP1 - Orchestrator, System Center 2012 - Orchestrator, System Center 2012 R2 Orchestrator
The Modify Counter increments and decrements a counter, as well as resets it to its default value. It also sets it to a value you specify. Wherever you need to update the value of a counter, use the Modify Counter activity to update its value.
The current value of a counter is specific for every runbook that uses that counter. The first time a counter is used, the default value that has been specified in the counters configuration will be used. You can only modify the value of counters in a runbook using the Modify Counter activity.
Before you configure the Modify Counter activity, you need to determine the following:
The counter you are updating.
The type of update that will be made.
Use the following information to configure the Modify Counter activity.
|Counter||Click the ellipsis (...) button to select the Counter that you are retrieving.|
|Action||Select how you want the value of the counter to be changed:|
Increment: add the Step value to the value of the counter.
Decrement: subtract the Step value from the value of the counter.
Set: set the value of the counter to the Step value.
Reset: reset the value of the counter to the default value.
|Value||The value used by the Increment, Decrement, or Set action.|
The following table lists the published data items.
|Counter Value||The value of the counter|