CloseTaskSetContext
Close a task with the closeComplete command, but then also add the "comments" to the incident context.
python · xMatters
Details
| ID | CloseTaskSetContext |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python3:3.12.13.10116658 |
| Tags | Utilities |
README
Closes a task with the taskComplete command, then returns the context
Script Data
| Name | Description |
|---|---|
| Script Type | python |
| Tags | utility |
Dependencies
This script uses the following commands and scripts.
- taskComplete
Inputs
| Argument Name | Description |
|---|---|
| entry_id | The tag or Task ID to close |
| context_key | The incident context key to add the comments to |
| comments | The comments to be added to the incident context |
Outputs
There are no outputs for this script.
commonfields: id: CloseTaskSetContext version: -1 name: CloseTaskSetContext script: '' type: python tags: - Utilities comment: 'Close a task with the closeComplete command, but then also add the "comments" to the incident context. ' enabled: true args: - name: entry_id required: true default: true description: Enter an entry id or tag to close. defaultValue: ${lastCompletedTaskEntries} - name: context_key required: true description: The context key to place the comments. - name: comments required: true description: The comments to place into the context. scripttarget: 0 subtype: python3 dockerimage: demisto/python3:3.12.13.10116658 runas: DBotWeakRole fromversion: 5.0.0 tests: - No tests (auto formatted)