Ui actions to send an email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2018 02:23 PM
Hello community,
I have an requirement in which i have to create an button using ui actions which is visible only when an particular sub-category is selected and on clicking the button an email should be sent to the client.
Please provide me with some suggestions to solve by requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2018 02:39 PM
1. Create a UI action
Condition: sub_category=="value"
Script:
gs.eventQueue("button.clicked", current, gs.getUserID(), gs.getUserName());
2. You need to define the event in system definition > event registry
Click on the below link for more details on how to register an event.
3. Create an email notification. Go to the tab "When to send", change the value of field "send when" to "event is fired".
Select the event name "button.clicked"
Now define your users, groups , subject and email body.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2018 02:54 PM
I have done the above steps even though the email is not sent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-18-2018 02:56 PM
Can you show your UI action script and may I know on what table you created the notification?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-19-2018 06:43 AM