DeDup incidents Deprecated Hidden
Deprecated. Check for duplicate incidents for the current incident, and close it if any duplicate has found.
Deprecated Content (Deprecated) · 5 tasks · 5 inputs · 1 output
Details
| ID | close_incident_if_duplicate_found |
|---|---|
| From Version | 5.0.0 |
| Tasks | 5 |
README
DEPRECATED. Checks for duplicate incidents for the current incident, and close it if any duplicate has found.
Dependencies
This playbook uses the following sub-playbooks, integrations, and scripts.
Sub-playbooks
This playbook does not use any sub-playbooks.
Integrations
This playbook does not use any integrations.
Scripts
- CloseInvestigationAsDuplicate
- FindSimilarIncidents
Commands
This playbook does not use any commands.
Playbook Inputs
| Name | Description | Default Value | Required |
|---|---|---|---|
| similarIncidentKeys | The identical incident keys. | - | Optional |
| similarLabels | The identical similar labels keys. You allow difference in X words between labels. For example, the input: Email\subject:2,Email\from Will demand: 1. Email\from to be identical 2. Email\subject to be similar with 2 max words difference | - | Optional |
| similarContextKeys | Identical Similar context keys. You allow difference in X words between values. | - | Optional |
| similarCustomFields | Identical Similar custom fields. You allow difference in X words between values. | - | Optional |
| hoursBack | Checks incidents within X hours back. | 24 | Optional |
Playbook Outputs
| Path | Description | Type |
|---|---|---|
| isSimilarIncidentFound | Whether the similar incident was found. Must be, “true” or “false”. | unknown |
Playbook Image

Inputs
similarIncidentKeys— Identical incident keyssimilarLabels— Identical\Similar labels keys. You allow difference in X words between labels. For example, the input: Email\subject:2,Email\from Will demand: 1. Email\from to be identical 2. Email\subject to be similar with 2 max words differencesimilarContextKeys— Identical\Similar context keys. You allow difference in X words between values.similarCustomFields— Identical\Similar custom fields. You allow difference in X words between values.hoursBack— Check incidents within X hours back.
Outputs
isSimilarIncidentFound— Is similar incident found? (true\false)
Flowchart
id: close_incident_if_duplicate_found version: -1 name: DeDup incidents fromversion: "5.0.0" description: | Deprecated. Check for duplicate incidents for the current incident, and close it if any duplicate has found. starttaskid: "0" hidden: true tasks: "0": id: "0" taskid: 0c9fa614-e05a-4144-8e40-6b736392a16a type: start task: id: 0c9fa614-e05a-4144-8e40-6b736392a16a version: -1 name: "" description: "" iscommand: false brand: "" nexttasks: '#none#': - "2" separatecontext: false view: |- { "position": { "x": 162.5, "y": 51 } } "2": id: "2" taskid: 6c68450d-d32f-4a07-8978-8df36190ada6 type: regular task: id: 6c68450d-d32f-4a07-8978-8df36190ada6 version: -1 name: Find duplicate incidents description: Find duplicate incidents for the current incident. scriptName: FindSimilarIncidents type: regular iscommand: false brand: "" nexttasks: '#none#': - "4" scriptarguments: hoursBack: simple: ${inputs.hoursBack} ignoreClosedIncidents: simple: "no" ignoreMissingKeys: {} maxNumberOfIncidents: {} minimumContextKeysToCompare: {} minimumCustomFieldsToCompare: {} minimumLabelsKeysToCompare: {} minimumNumberOfKeysToCompare: {} similarContextKeys: simple: ${inputs.similarContextKeys} similarCustomFields: simple: ${inputs.similarCustomFields} similarIncidentKeys: simple: ${inputs.similarIncidentKeys} similarLabelsKeys: simple: ${inputs.similarLabels} separatecontext: false view: |- { "position": { "x": 162.5, "y": 194 } } "3": id: "3" taskid: bced6173-64c6-457c-85bd-2adf6be16c4c type: regular task: id: bced6173-64c6-457c-85bd-2adf6be16c4c version: -1 name: Close as duplicate description: Close the current investigation as duplicate. scriptName: CloseInvestigationAsDuplicate type: regular iscommand: false brand: "" nexttasks: '#none#': - "5" scriptarguments: duplicateId: simple: ${similarIncident.rawId} separatecontext: false view: |- { "position": { "x": 50, "y": 545 } } "4": id: "4" taskid: e1952276-e1b2-4748-8198-9bc500d5c504 type: condition task: id: e1952276-e1b2-4748-8198-9bc500d5c504 version: -1 name: Is duplicate incident found? description: Check if there is any duplicate incident found. type: condition iscommand: false brand: "" nexttasks: '#default#': - "5" "yes": - "3" separatecontext: false conditions: - label: "yes" condition: - - operator: isTrue left: value: simple: isSimilarIncidentFound iscontext: true view: |- { "position": { "x": 162.5, "y": 369 } } note: false "5": id: "5" taskid: 813eba13-6ed9-4050-8d77-f9c3e0a3d07c type: title task: id: 813eba13-6ed9-4050-8d77-f9c3e0a3d07c version: -1 name: Done description: "" type: title iscommand: false brand: "" separatecontext: false view: |- { "position": { "x": 162.5, "y": 720 } } view: |- { "linkLabelsPosition": {}, "paper": { "dimensions": { "height": 734, "width": 492.5, "x": 50, "y": 51 } } } inputs: - key: similarIncidentKeys value: {} required: false description: Identical incident keys - key: similarLabels value: {} required: false description: "Identical\\Similar labels keys.\nYou allow difference in X words between labels. For example, the input:\nEmail\\subject:2,Email\\from\nWill demand:\n1. Email\\from to be identical \n2. Email\\subject to be similar with 2 max words difference\n" - key: similarContextKeys value: {} required: false description: "Identical\\Similar context keys.\nYou allow difference in X words between values. " - key: similarCustomFields value: {} required: false description: |- Identical\Similar custom fields. You allow difference in X words between values. - key: hoursBack value: simple: "24" required: false description: Check incidents within X hours back. outputs: - contextPath: isSimilarIncidentFound description: Is similar incident found? (true\false) tests: - No tests deprecated: true