Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Unable to create Interaction record after removing Scheduled Report Email Watermark

JR Oliver
Tera Contributor

I have a business rule that removes the watermark for Scheduled Report Email.

The business rule successfully removes the watermark even if the user replies. However, after a user replies to the report the expected behavior is to create an Interaction record since I removed the watermark.

The inbound action which creates an Interaction is not being triggered. Below is the email log.

 

Classified as reply to 'null' via watermark 'Ref:MSG16150987_2H7uPuLPLXH22A6dJSz' via In-Reply-To header

 

Below is my business rule before insert. 

Condition: current.type == 'send-ready' && current.subject.toString().indexOf("Weekly Report - Secondee list") > -1

(function executeRule(current, previous /*null when async*/) {
 
current.body = String(current.body).replace(/Ref:[A-z0-9]*/, "");
current.body_text = String(current.body_text).replace(/Ref:[A-z0-9]*/, "");


})(current, previous);

 

0 REPLIES 0