- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2020 01:12 PM
Hello All,
We need to trigger an notification from UI Action without event generation. In Notification the 'Send When' field is set as 'Triggered'.
Thanks in advance for the help !!!
Solved! Go to Solution.
- Labels:
-
Analytics and Reports

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2020 02:41 PM
You can trigger flow action which has creates notification from UI action using Flow API which will trigger your existing notification.
(function() {
try {
var grIncident = new GlideRecord('incident');
grIncident.get('57af7aec73d423002728660c4cf6a71c');
var inputs = {};
inputs['variable'] = grIncident;
sn_fd.FlowAPI.startActionQuick('global.update_record_test', inputs);
} catch (ex) {
var message = ex.getMessage();
gs.error(message);
}
})();
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2020 09:54 AM
Hi Vinod,
Event is fired means when you generate event via server side objects ( e.g business rule, script includes).
Send when | Select under what condition the notification is sent:
|
Please check below for more details:-
Mark it Correct/Helpful if this helps you.
Thanks and Regards,
Tejal Zete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2020 02:29 PM
Thanks, Tejal for the response.
We already have a notification with 'Send When' as 'Triggered' and the notification is been triggering from a Flow (the Flow has other actions as well).
As part of my new requirement, We created the UI action button and when someone clicks the UI action button it needs to send the same notification.
I don't want to create another flow just to trigger this notification. So I am looking for some code reference to send notification from UI action itself.