Need to create a Required Remediation task only for a CI where 'Is Virtual' is false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 07:56 AM
Hello People,
Please help me. I'm not able to create a filter to do this, We have a requirement to create a Required field Remediation task for a Computer CI where the Serial number is mandatory if 'Is Virtual' field is false. Should not create a remediation task if Is Virtual is true. When I'm using a UI policy/Data Policy to make Serial Number mandatory and not through dictionary override. The Remediation task is not considering the Serial Number attribute under a Required metric.
- Labels:
-
Data Health Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2023 10:34 AM - edited 12-18-2023 12:01 PM
One way to solve it is to set up health inclusion rules with 'is virtual' is false and then enable task creation for the required metric and run the health completeness job. This should only create failures where the health inclusion rule is valid and without a serial number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 02:30 AM
@Sandeep90 I've other fields also (Name) under Required metric. If I add in the Health Inclusion rules, the same functionality would be applicable for other fields too. But I don't want to create remediation tasks where the Serial Number is not needed if the 'Is Virtual' field in True.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 09:02 AM
If you still want to create a task in case the name is still missing, I would suggest using the scripted audit to create the tasks.