Advanced notification settings
Automation controller uses the system hostname for notifications by default.
In Settings > Automation Execution > System, you can replace the default value in the Base URL of the service field with your preferred hostname to change the notification hostname.
Refreshing your license also changes the notification hostname. New installations of automation controller do not have to set the hostname for notifications.
Create custom notifications Copy linkLink copied!
You can customize the text content of each Notification type on the notification form.
About this task Copy linkLink copied!
Procedure Copy linkLink copied!
Enable and disable notifications Copy linkLink copied!
You can set up notifications to notify you when a specific job starts, and on the success or failure at the end of the job run. Note the following behaviors:
- If a workflow job template has notification on start enabled, and a job template within that workflow also has notification on start enabled, you receive notifications for both.
- You can enable notifications to run on many job templates within a workflow job template.
- You can enable notifications to run on a sliced job template start and each slice generates a notification.
- When you enable a notification to run on job start, and that notification gets deleted, the job template continues to run, but results in an error message.
You can enable notifications on job start, job success, and job failure, or a combination of these, from the Notifications tab of the Details page for the following resources:
- Job Templates
- Workflow Templates
- Projects
For workflow templates that have approval nodes, in addition to Start, Success, and Failure, you can enable or disable certain approval-related events:
Reset TOWER_URL_BASE Copy linkLink copied!
Automation controller determines how the base URL (TOWER_URL_BASE) is defined by looking at an incoming request and setting the server address based on that incoming request.
About this task Copy linkLink copied!
Automation controller takes settings values from the database first. If no settings values are found, it uses the values from the settings files. If you post a license by navigating to the automation controller host’s IP address, the posted license is written to the settings entry in the database.
Use the following procedure to reset TOWER_URL_BASE if the wrong address has been picked up:
Procedure Copy linkLink copied!
- From the navigation panel, select .
- Click .
- Enter the address in the Base URL of the service field for the DNS entry you want to appear in notifications.
Notifications API Copy linkLink copied!
The Notifications API enables you to trigger notifications for various events in Automation controller. The Notifications API provides endpoints to trigger notifications for job events, such as when a job starts, succeeds, or fails.
Use the started, success, or error endpoints:
/api/v2/organizations/N/notification_templates_started/
/api/v2/organizations/N/notification_templates_success/
/api/v2/organizations/N/notification_templates_error/
Additionally, the ../../../N/notification_templates_started endpoints have GET and POST actions for:
- Organizations
- Projects
- Inventory Sources
- Job Templates
- System Job Templates
- Workflow Job Templates
Custom notification attributes Copy linkLink copied!
Learn about the list of supported job attributes and the proper syntax for constructing the message text for notifications.
