ServiceNowAddComment

Use this script to add a comment or work note to a ServiceNow ticket. To be run within the incident.

python · ServiceNow

Details

IDServiceNowAddComment
Languagepython
From Version6.8.0
Docker Imagedemisto/python3:3.12.13.10116658
Tagsservicenow servicenow v2
args:
- description: Note to be added as comment or worknote to servicenow.
  name: note
  required: true
- auto: PREDEFINED
  defaultValue: comment
  description: Tag as a comment or a work_notes. Default is "comment".
  name: tag
  predefined:
  - comment
  - work_notes
- description: Specify the sys_id of the ticket. If not specified, it will use the ticket ID from the incident. servicenowticketid must be in context data for this to work.
  name: ticket_id
- description: Specify a table name. If nothing is mentioned, it will use the ticket type from instance configuration.
  name: table_name
- description: Specify the instance to be used. If not specified, it will run using all available instances.
  name: instance_name
comment: Use this script to add a comment or work note to a ServiceNow ticket. To be run within the incident.
commonfields:
  id: ServiceNowAddComment
  version: -1
contentitemexportablefields:
  contentitemfields:
    fromServerVersion: ""
dependson:
  must:
  - '|||servicenow-add-comment'
dockerimage: demisto/python3:3.12.13.10116658
enabled: true
name: ServiceNowAddComment
runas: DBotWeakRole
script: ''
scripttarget: 0
subtype: python3
tags:
- servicenow
- servicenow v2
type: python
fromversion: 6.8.0
tests:
- No tests (auto formatted)