want to add attachment to an existing record when replies to that record
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2024 08:11 PM
When a user sends reply email to a custom table with an attachment, it should attach to the current record.
but now it is not happening through inbound action. so i want this action to be happened with business rule.
it has to check the email table and attach the attachments to the respective custom table records.
this below script is working fine in PDI, but not in our developer instance.
//gs.include('validators');
if (current.getTableName() == "x_xustom_table") {
current.comments = "reply from: " + email.origemail + "\n\n" + email.body_text;
if (current.canWrite())
current.update();
}
// }
the many attachments are getting attachments when we send in PDI, but not happening in developer instance iwth this script, so am looking to achieve this through BR
0 REPLIES 0