Custom button on Service Portal to send email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2020 08:08 AM
Hello,
I have created a custom button in a widget on the service portal. When that button is clicked, i need to send an email to the assignemnt group that the ticket is currently assigned to. Has anyone done this or have any examples how i can generate an email when the button is clicked? I have created a client email template to use, but not quite sure how to initiate the email. I beleive it has something to do with the email client. Any help is appreciated.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2020 04:12 AM
Thanks...are you able to give any examples of this? Or links to examples? Having some trouble wrapping my head around how to implement this in the client and server script in the widget.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2020 09:10 AM
i have the button created in the html, but i need help with the client and server script, please.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2020 09:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2020 05:04 AM
Thanks for all the help on this...i have configured the event and a notification. But when i click the button on service portal, nothing happens...Is there something i need to add in the client script to trigger the event?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2020 06:48 AM
Actually, I think i figured it out...One other question...do you know how i would go about stopping the user from being able to click this button if a certain amount of time hasnt passed? for example, A user can only click this button to send email every seven days, if it hasnt been seven days, then the button would be grayed out or invisible. Any ideas?