args: - description: Incident System ID. name: id - description: Incident number. name: number - description: Incident assigne name (e.g John Smith). name: assignee comment: |- This script is used to wrap the generic query-table command in ServiceNow. You can add fields that you want to use as inputs and outputs from the record as script arguments or in the code and work with the records easily. commonfields: id: ServiceNowQueryIncident version: -1 enabled: true name: ServiceNowQueryIncident outputs: - contextPath: ServiceNow.Incident.ID description: Incident ID. type: string - contextPath: ServiceNow.Incident.Description description: Incident description. type: string - contextPath: ServiceNow.Incident.Number description: Incident number. type: number - contextPath: ServiceNow.Incident.Caller description: Incident caller. type: string script: '-' tags: - servicenow - servicenow v2 timeout: '0' type: python subtype: python3 tests: - No test - Hibernating instance dependson: must: - servicenow-query-table fromversion: 5.0.0 dockerimage: demisto/python3:3.12.13.10116658 skipprepare: - script-name-incident-to-alert