OOB Automation for Updating Remediation Task State Based on Vulnerable Items in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-21-2025 02:08 AM
Does ServiceNow provide an (OOB) solution to automatically update the state of a remediation task based on the state of its associated vulnerable items? Where can I find the relevant code in Business Rules (BR), Script Includes (SI) or etc? Could you provide details?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā02-21-2025 06:54 AM
Hey there - yes, there is baseline logic that rolls up from Detections > Vulnerable Items > Remediation Task.
This logic is handled with various components, namely scheduled jobs and script includes.
Based on the following details, are you not seeing the baseline logic for state roll-ups being applied in your environment?
Rollup of VI states to remediation tasks (VUL)
State precedence: Open > Closed - Fixed > Closed - Stale.
- If any VIs in a VUL (remediation task) are Open, the VUL state is not changed.
- If at least one VI is Closed - Fixed and the rest are Closed - Stale, the VUL state transitions to Closed - Fixed.
- If all the VIs in a VUL are Closed - Stale, the VUL state transitions to Closed - Canceled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā03-14-2025 10:29 PM
i need for all states not only for only closed or resolved or cancelled i need for all states