- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2017 09:40 AM
Hello,
How would I update a record every time an email is generated and sent, say, from a incident?
I've looked into Email Client templates and doing a mail_script to update the record but that only runs when the email is composed.
Here is an image for how to generate an email from a record:
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2017 10:43 AM
Hi Patrick:
You can define a "after update" Business Rule on the sys_email table with the conditions State is Processed AND Type is sent and put the code for updating the Incident table in the Advanced section.
However, you will also need to define a way to figure out if this email was sent from the Incident form so that the logic is not triggered for every email that is sent out.
Hope that helps.
PS: Please hit "Correct", "Helpful" or "Like" depending on the impact of the response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2023 03:25 AM
Hello, have you got the solution i am also facing same problem