Tag Gov Policy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-07-2025 03:56 AM
Need to create tag Gov policy for database and servers ?
Please help me on this
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-07-2025 06:56 AM
Has this been loaded com.snc.tagging, and have you created the sys_metadata_tag.list your Tag (Gov Policy)?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-07-2025 07:05 AM
You can create a policy using this link and update the filter criteria per your desired CI Class.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā05-07-2025 07:41 AM
Hi @ayush_g ,
Here's a step-by-step guide:
- Create or Open a Scheduled Report: Navigate to "Reports" > "Scheduled Reports" and either create a new report or open an existing one.
- Set the Run Frequency: Under the "Run" field, select "Monthly".
- Set the Run Date: Choose "Day 1" for the "Day" field.
- Enable Conditional Execution: Check the "Conditional" checkbox.
- Add the Condition:
- In the "Condition" section, you'll need to add a script to evaluate the current month.
- A sample script is written below- .function checkMonth() {
var gdt = new GlideDateTime();
var month = gdt.getMonth();
var result = false;
if(month == 1 || month == 4 || month == 7 || month == 10) {
result = true;
}
return result;
}
checkMonth();
- In the "Condition" section, you'll need to add a script to evaluate the current month.
- This script checks if the current month is January (1), April (4), July (7), or October (10), returning true for those months and false for the rest.This configuration will ensure the report runs only on the first day of January, April, July, and October, effectively generating a quarterly reportSave the Scheduled Report: Save the scheduled report with the configured settings.Also you can check the Community URL related to your query-*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Kumar Swapnil
Complete Administation of monitoring tools like Zabbix\Solarwinds\DX-UIM & Devops Engineer** Aspirant Servicenow AdministratorHCLTech, Noida
LinkedIn: www.linkedin.com/in/kumar-swapnil001
****************************************************************************************************************