Attachment - Inbound Email Action

Gaurav Kumar15
Giga Guru

Hi All,

 

We are creating Incidents via the Inbound Email Actions. So, whenever an email contains attachment that gets attached to the Incident which got created from that mail. So, can anyone tell me that if we don't want to attach that on the incident from inbound email, then how can we do that.

 

We are using calgary.

 

TIA

19 REPLIES 19

Hi Micheal,



Hope you are doing well.



This rue works for me like a breeze.



But I wanted to use a couple of other conditions as below:


parseInt(current.size_bytes) <= 2155 && current.content_type == 'image/png' && (['image001.png', 'image002.png', 'image003.png', 'image004.png'].indexOf(current.file_name) > -1) && (['u_new_call', 'u_request', 'incident'].indexOf(current.table_name) > -1)



If I use these new conditions then the rule does not run.


Is it that the table_name and file_name isn't populated until the record is inserted?


Hi Micheal,



The same issue i am facing by the solution u given above was working fine.... (the image in the signature is not getting attachment in email) but the signature image also not getting loading. pls find the below screen shot for more details.kindly help me on this.


find_real_file.png


Hi Siddharth29,
I am also facing same issue.
Did you got any solution, please share your thoughts here it will help to all.

Thanks ,
Lakshman

I created a business rule like this, and it works fine when manually adding an attachment.   However, if the attachment is added from an incoming email (Inbound Action) the attachment isn't blocked. Any idea why it would run when an attachment is added in the interface, but won't run for an attachment that comes from an Inbound Action?


Hi Paul,



Can you post your code and I'll take a look?   If it's on the attachments table it should work for emails too.



Thx,



MB