Created
March 3, 2016 08:32
-
-
Save shrutis22/cea3df9c52231fa8643f to your computer and use it in GitHub Desktop.
Trigger which calls HipChat Notify Class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Trigger to display a message | |
* in HipChat when a new Case is | |
* created. | |
* | |
* @author Shruti Sridharan | |
* @since 23/02/2016 | |
* @version 1.0 | |
*/ | |
trigger newCaseNotifierTrigger on Case ( after insert ) { | |
for( Case newCase : Trigger.new ) { | |
HipChatNotifier.notify( 'New Case has been Created' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment