Creating a new alert rule
You use alert rules to perform specific actions and events in BMC IT Business Management Suite. You can also use them to send notifications based on some action or events. For example, you can set an alert rule to add a budget line item to a specific type of project each time a user creates that kind of project.
You can use the EventRules tab to create a new alert rule.
To create a new alert rule
- In the EventRules tab, click New.
The New Alert Rule window is displayed as follows:
- Enter all the relevant information for the alert rule.
You can specify the following information:- Name: Specify an alert rule name. You must specify a unique name within a tenant company.
- Internal ID: Specify an internal ID for the alert rule. You must specify a unique name within a tenant company.
- Description: Brief description of the alert rule.
- Object Class: Select the appropriate object that will trigger this alert rule.
- Event Trigger: Select the appropriate event trigger. For a list of event triggers and the corresponding alert rules, see the table below.
- Order: Specify the order of alert rule. This option is required if there are more than one alert rules for a given Object Class and Event Trigger combination. In a single transaction, if more than one rule is defined, event rules are executed by the order that you specify in this field.
- Notification List: Select the list of people to be notified when this Alert Rule executes.
- Is Active: Select this check box to make this Alert Rule active. You can view these active Alert Rules by selecting Alerts -> Alert Rules in the Administration navigation pane.
- Rule: Rule script to implement the intended business logic of this Alert Rule.
You can define rule codes for different types of events occurring in the system. The software executes the rules in the order in which they are defined. BMC IT Business management Suite provides a set of APIs for writing event rule scripts. You can refer to the published Javadoc for more information on the APIs.
For more information on writing rule scripts, see Guidelines-for-creating-event-rules.
- Click Save.
List of Event Triggers corresponding to Alert Rules
Event Trigger | Alert Rule |
canCancelApproval | Cancel approval permission |
canInitiateApproval | Initiate approval permission |
cancelApproval | Cancel approval |
change | Control Test Failure alert |
changeRequestCronJob | SCHEDULE_CHANGEREQUEST_JOB_EVENT |
configParameter | MUDULE_CHANGE_LOG |
costModelRefreshCronJob | Cost model auto-refresh notification |
costModelRefreshReminderCronJob | Cost model refresh reminder |
create | Administrative Alerts |
dayExpired | Control due alert |
initiateApproval | Initiate approval |
login | LOGIN_EVENT_LOG |
logout | LOGOUT_EVENT_LOG |
postSave | Process approval response |
processLateTimecards | Process Late Timecards |
processTimecardStatus | Process Timecard Status |
projectBudgetChange | Project Budgeted TCO change |
systemCronJob | SCHEDULE_ITM_SYSTEM_JOB_EVENT |
vendorReview | Vendor Review Notification |