Skip to content

Conversation

@harshal045
Copy link
Contributor

Overview

This 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.

Features

  • Triggered when an Incident is moved to the "Resolved" state.
  • Checks for presence of resolution notes (close_notes).
  • Creates a draft Knowledge Article with the Incident number and resolution content.
  • Tags the article with a default category (General).
  • Optionally links the article to the source Incident via a custom field.

Files Added

  • Server-Side Components/BusinessRules/AutoGenerateKnowledgeArticle/script.js
  • Server-Side Components/BusinessRules/AutoGenerateKnowledgeArticle/README.md

Configuration

  • Table: incident
  • When to Run: after update
  • Condition: current.state == 6 && current.close_notes

Testing Performed

  • Resolved an Incident with resolution notes.
  • Verified that a new draft Knowledge Article was automatically created.
  • Checked for errors — none found.

Add Business Rule: Auto-Generate Knowledge Article from Resolved Incident
README file for the Business Rule
@rohi-v rohi-v self-assigned this Oct 11, 2025
@harshal045
Copy link
Contributor Author

Hi @rohi-v, please review my new PR for the Business Rule — Auto-Generate Knowledge Article from Resolved Incident.

@rohi-v
Copy link
Contributor

rohi-v commented Oct 11, 2025

Hi @harshal045

We already have OOTB BR called 'Incident Create Knowledge'. Contributions should be original and cross checked with OOTB code .Closing this for now. Once you make additional changes, feel free to re-open this Pull Request or create a new one.

@rohi-v rohi-v closed this Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants