args: - auto: PREDEFINED description: Incident severity. name: severity predefined: - 1 - High - 2 - Medium - 3 - Low - description: Incident assigne name (e.g John Smith). name: assignee - description: Incident description. name: description - description: Incident assigned group name (e.g Incident Management Group). name: assigned_group - description: Incident ID to update. name: id - description: Incident number to update. name: number - description: 'Query to use.' name: query comment: |- This script is used to wrap the generic update-record command in ServiceNow. You can add fields that you want to update the record with as script arguments or in the code and work with the records easily. commonfields: id: ServiceNowUpdateIncident version: -1 enabled: true name: ServiceNowUpdateIncident outputs: - contextPath: ServiceNow.Incident.ID description: Incident ID. type: string - contextPath: ServiceNow.Incident.Number description: Incident number. type: string script: '-' tags: - servicenow - servicenow v2 timeout: '0' type: python subtype: python3 dependson: must: - servicenow-update-record - servicenow-query-table tests: - No test - Hibernating instance fromversion: 5.0.0 dockerimage: demisto/python3:3.12.13.10116658 skipprepare: - script-name-incident-to-alert