Integration with ServiceNow (SNOW) is a new feature as of the 12.1.01 release of AutoSys Workload Automation and is currently limited to job related alarms only. It is not applicable to any release previous to 12.1.01.
AutoSys Workload Automation 12.1.01
Steps:
helpdesk_url=https://instance.service-now.com/api/now
helpdesk_access=your_user/encrypted_password
helpdesk_alarm_types=
JOBFAILURE,EVENT_HDLR_ERROR,MAXRUNALARM,MUST_START_ALARM,MUST_COMPLETE_ALARM
[07/10/2024 21:17:32] CAUAJM_I_40295 helpdesk_access set to <your_user/encrypted_password>.
[07/10/2024 21:17:32] CAUAJM_I_40295 helpdesk_alarm_types set to <JOBFAILURE,EVENT_HDLR_ERROR,MAXRUNALARM,MUST_START_ALARM,MUST_COMPLETE_ALARM>.
[07/10/2024 21:17:32] CAUAJM_I_40295 helpdesk_url set to <https://instance.service-now.com/api/now>.
insert_glob: HelpdeskTemplateForJobStatusFailures
blob_mode: text
blob_file: /opt/CA/WorkloadAutomationAE/autosys/install/helpdesk_templates/JobStatusFailureTemplate
blob_type: helpdesktemplate
insert_glob: HelpdeskTemplateForJobStatusFailures
blob_mode: text
blob_file: "C:\Program Files (x86)\CA\WorkloadAutomationAE\autosys\install\JobStatusFailureTemplate"
blob_type: helpdesktemplate
[autosys@hostname ]$ auto_helpdesk -G
CAUAJM_I_61026 Generic Help desk ticket creation pending.
CAUAJM_I_61018 Generic Help desk request creation successful, TICKET_NUMBER: INC0010021 TICKET_ID: d49f4775935b8e1080a07fddfaba10f6
/* ----------------- TestJob ----------------- */
insert_job: TestJob job_type: CMD
command: as_test -e 1
machine: localhost
owner: autosys@localhost
permission:
date_conditions: 0
alarm_if_fail: 1
alarm_if_terminated: 1
helpdesk: y
helpdesk_template: HelpdeskTemplateForJobStatusFailure
helpdesk_attr: urgency=3
helpdesk_attr: impact=3
helpdesk_attr: priority=5
helpdesk_attr: caller_id="System Administrator"
[07/10/2024 21:38:41] CAUAJM_I_61015 Help desk request pending for JOB: TestJob RUN_NUMBER: 321.1 ALARM: JOBFAILURE
[07/10/2024 21:38:41] CAUAJM_I_61017 Help desk request creation successful for JOB: TestJob RUN_NUMBER: 321.1 ALARM: JOBFAILURE TICKET_NUMBER: INC0010023 TICKET_ID: 877d6f7993db8e1080a07fddfaba1023
For Use Case examples, please reference ServiceNow Ticket Creation Use Cases.