- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 03:23 AM
Hi,
I've a simple process required to send an email of an incident using a UI action. I've setup an event in the registry, email notification and the UI action, however the event doesn't trigger when clicking the action:
can anyone advise on what's wrong. Many thanks
Alex.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 03:31 AM
Hi,
Try this below sample scripts and modify it accordingly.
if(typeof window == 'undefined')
fireEvents();
//Server-side function
function fireEvents(){
//Check even name properly:
gs.eventQueue("event.name", current);
action.setRedirectURL(current);
}
Note - Make sure that Send to event crater check box should selected.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 03:39 AM
Hi AlexR
in your UI action enclose your event push into a function.
(function() {
your code
})();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 03:31 AM
Hi,
Try this below sample scripts and modify it accordingly.
if(typeof window == 'undefined')
fireEvents();
//Server-side function
function fireEvents(){
//Check even name properly:
gs.eventQueue("event.name", current);
action.setRedirectURL(current);
}
Note - Make sure that Send to event crater check box should selected.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 03:39 AM
Hi AlexR
in your UI action enclose your event push into a function.
(function() {
your code
})();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 03:48 AM
thank you both!, both solutions resolved this