Example: Creating a Triggered Action Business Rule to send email notifications when an incident status is changed
3 min
this example shows how to trigger an email notification when the status of an incident is changed from active to closed prerequisite this example assumes you have administrator level access to the configuration console and are familiar with creating business objects to create a triggered action click incident to open the incident business object in the graphical action designer, under common actions, drag a send an email action block on the page in the block tab, enter the following details field description log in journal specifies which emails to keep select one of the following all default keeps all emails failed keeps only failed emails by default, all option is selected from the address from which the email is sent can only contain one entry click add to enter the address to the address or addresses to which the email is sent this field can contain multiple entries click add or address book to enter the addresses subject the subject of the email in this example, enter the subject as incident closure notification alert click compose email to add the email body contents in the common tab, enter the following details field description action type action type the options are follows regular action triggered action in this example, select triggered action name mandatory a unique name for the triggered action business rule in this example, enter incident closure notification description optional a description of what the triggered action business rule does in this example, enter trigger action rule to notify incident closure click save click add rules in the events tab, enter the following details field description object event the trigger is based on one of the events or a combination of events, such as business object events (insert, delete, or update) in this example, select on update field event the trigger is based on one of the field events (initialize or update) select the field from the drop down list in this example, select on update field in this example, select status condition in this example, select is changed from field in this example, select active click to select the condition change as is changed to and closed from the field drop down list click ok testing the triggered action rule from the incident workspace, select an active incident and modify the following fields a status change the status to closed b resolution mandatory enter the description c cause code mandatory select the cause code option from the drop down list click save you can view the email notification that is triggered based on the rule created
