Create, Reset, or Change a Counter
Use the Counter window (accessed from within the Counter Manager) to create, reset, or change a Counter. When creating a Counter, define the following:
- Name and description
- Initial value
- Increment
- Reset options (value, frequency, and timeframe) (optional): Schedule a reset (ex: Reset every month).
- Change value (optional): Defines a manual, one-time Counter value change (ex: Change record IDs to start at 100,000 when migrating from a test to a production system). This reset occurs as soon as the Blueprint is published and is a one-time only reset.
To create, reset, or change a Counter:
-
Select a scope and subfolder (if needed).
- Click the
Create New button
.
The Counter window opens.
- Define general properties:
- Name:
Provide a display name to use within CSM (this property can be searched in CSM Item Managers).
- Description:
Provide a description to use within CSM (this property can be searched in CSM Item Managers).
- Name:
- Define the initial value and increment:
- Initial Value: Specify the number to use as the starting value (ex: 1).
- Increment: Specify the number by which to increase the Counter each time it increments (ex: 1).
- (Optional) Define Counter reset options (Reset Counter section):
- Select the Reset Value check box.
- Reset value: Specify the new value.
- Frequency: Select a reset frequency from the following:
Note: The Counter is checked for reset only when it is requested. The reset occurs (1) second into the new day/week/month/year/etc.
- Daily: Resets each day.
- End of Month: Resets on the last day of each month.
- Hourly: Resets at the beginning of each hour.
- Weekly: Resets every week on a specified day of the week (Monday-Sunday).
- Monthly: Resets every month on a specified day (1-31). Select the day in the Day of Month drop-down.
- Yearly: Resets every year on a specified date. Click
the
Calendar button
to select the date.
- (Optional) Define a manual, one-time Counter value change:
Note: This reset occurs as soon as the Blueprint is published, and is a one-time only reset.
- Select the Change Counter Value check box.
- Specify the value to which you want to manually reset the Counter (ex: 100,000).
-
Click OK.