Skip to content

Commit 10aa401

Browse files
authored
Create README.md
README file for the Business Rule
1 parent af2f354 commit 10aa401

File tree

1 file changed

+18
-0
lines changed
  • Server-Side Components/Business Rules/Auto-Generate-KB-Article

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Auto-Generate Knowledge Article from Resolved Incident
2+
3+
## Overview
4+
This ServiceNow Business Rule automatically creates a draft Knowledge Article when an Incident is resolved and contains resolution notes. It helps promote knowledge reuse and reduces repetitive tickets by capturing solutions directly from resolved Incidents.
5+
6+
## Features
7+
- Triggered when an Incident is moved to the "Resolved" state.
8+
- Checks for presence of resolution notes (`close_notes`).
9+
- Creates a draft Knowledge Article with the Incident number and resolution content.
10+
- Tags the article with a default category (`General`).
11+
- Optionally links the article to the source Incident via a custom field.
12+
13+
## Business Rule Configuration
14+
- **Table**: `incident`
15+
- **When to Run**: `after update`
16+
- **Condition**:
17+
```javascript
18+
current.state == 6 && current.close_notes

0 commit comments

Comments
 (0)