![]() ![]() Use the following code to trigger a notification ![]() ![]() Println("Success.") // For debugging purpose only You can provide one or more Slack channels or users here Pass the Account Name field for the Slack channel that you created Map.put("ChannelAccountName", "A1B2C3D4F5") // This is a very important step to send notifications to Slack. Map.put("MessageText","Test Message for a change to the Critical check box on the SR") Println("Triggering notification.") // For debugging purpose only Int indexOfCF = ('CriticalFlag')ĭef oldValue = (indexOfCF.TRANS_ORIGINAL_VERSION)ĭef newValue = getAttribute('CriticalFlag') Notify #support channel in OraSvc workspace when the Critical check box in an SR is selected or deselected TRIGGER TYPE: AFTER CHANGES POSTED TO DATABASE To pass the HashMap to the sendNotification method. Currently, Slack notificationsĭon't use the Notification Preferences Manager. Note: All the steps to set the HashMap in these examplesĪre required to send notifications to Slack. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |