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/nowhelpdesk_access=your_user/encrypted_passwordhelpdesk_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: HelpdeskTemplateForJobStatusFailuresblob_mode: textblob_file: /opt/CA/WorkloadAutomationAE/autosys/install/helpdesk_templates/JobStatusFailureTemplateblob_type: helpdesktemplateinsert_glob: HelpdeskTemplateForJobStatusFailures
blob_mode: text
blob_file: "C:\Program Files (x86)\CA\WorkloadAutomationAE\autosys\install\JobStatusFailureTemplate"
blob_type: helpdesktemplate[autosys@hostname ]$ auto_helpdesk -GCAUAJM_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: CMDcommand: as_test -e 1machine: localhostowner: autosys@localhostpermission:date_conditions: 0alarm_if_fail: 1alarm_if_terminated: 1helpdesk: yhelpdesk_template: HelpdeskTemplateForJobStatusFailureshelpdesk_attr: urgency=3helpdesk_attr: impact=3helpdesk_attr: priority=5helpdesk_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: 877d6f7993db8e1080a07fddfaba1023For Use Case examples, please reference ServiceNow Ticket Creation Use Cases.