Email Notification List of All Changed Fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2019 09:49 AM
Hi Everyone!
I am hoping to get some advice on email notifications. I would like to have an email notification that is triggered on a change to fields in a form. I want the email to include a list of all the fields that were changed. There seems to be some info about this in the community, but it all seems to be out of date. Most solutions seem to involve creating a business rule and are somewhat confusing.
Thanks for your help in advance!
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2019 03:01 PM
In the above script
changedFields
stores all the field names that are changed. You can take that field name and get the value of the field.
for(i=0; i< changedFields.length; i++){
template.print(current.getValue(changedFields[i]) + '\n');
}