args: - description: Incident description. name: description - auto: PREDEFINED description: Incident priority. name: priority predefined: - '1' - '2' - '3' - '4' - '5' - '6' - description: Incident owner. name: owned_by - description: Service needed. name: service - description: Public ID or record ID. name: id_value required: true - auto: PREDEFINED description: Type of ID. name: id_type predefined: - public_id - record_id required: true comment: This script is an example script of how to update an incident in Cherwell. The script wraps the update-business-object command of the cherwell integration. When writing your own script to update a business object, follow the instructions found in the configuration section of the script, but do not change the execution section. commonfields: id: CherwellUpdateIncident version: -1 name: CherwellUpdateIncident tags: [Cherwell] dependson: must: - Cherwell|||cherwell-update-business-object outputs: - contextPath: Cherwell.BusinessObjects.PublicId description: Incident public ID type: String - contextPath: Cherwell.BusinessObjects.RecordId description: Incident record ID type: String script: '-' timeout: '0' type: python dockerimage: demisto/python3:3.12.13.10116658 subtype: python3 tests: - Cherwell Example Scripts - test fromversion: 5.0.0 skipprepare: - script-name-incident-to-alert