The CreatorCon Call for Content is officially open! Get started here.

Trying to stop, If requester replies to RITM comments, requester gets comments email

Nicholas Hromya
Mega Guru

I think I need to update the action in the Inbound email to set validator to not run if the reply is being sent by Opened by or Requester.  I am not sure what this would be in js.

I am not sure how to do this.

 

We have a notification named "Request item commented":

When to send : Insert - Updated - "Additional comments" changes

Who to send: Opened by, Requested for, and Watch list

 

We have Inbound email action named "Update Request Item":

When to run: reply

Action: 

if (current.getTableName() == "sc_req_item") {
    current.comments = "reply from: " + email.origemail + "\n\n" + email.body_text;
   
    if (gs.hasRole("itil")) {
        if (email.body.assign != undefined)
            current.assigned_to = email.body.assign;
       
        if (email.body.priority != undefined && isNumeric(email.body.priority))
            current.priority = email.body.priority;
    }
   
    current.update
 

 

5 REPLIES 5

Hello @Nicholas Hromya ,

 

Good to hear you were able to figure it out. Please mark your question as answered.

 

Regards,

Robert