How to omit embedded images and footer images but not attachments when using start process by email?

Certified Lead Developer

Hi All,

We have  a process that receives email and later uses AI skills for each of the attached document. 

The issue I'm having is that Appian is considering any embedded image from the email (footer images/signature/logo) as an attachment. What I really want is the attachments msg property to only contain actual attachments.

Example:

 - User sends an email to system with 3 attachments and a footer which contains 2 logos.

 - The system picks up the email trigger and the process grabs the attachments but is also including images in the body (totaling 5 attachments now)).

What I want the above to do is only process the 3 actual attachments and not the 2 embedded images. We have hundreds of emails coming in every day and from various sources so its not consistent with embedded images. How do we figure out the actual attachment from embedded image, so we can discard embedded ones for further processing. otherwise the review task will become hectic for the end user to just reject all of the logos from emails.

Any help is appreciated; 

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    Thanks  

    Still, it seems Body Types isn't the attribute to get the content types, unless I'm not understanding you well. 

    I'm receiving 7 inline attachments, but the bodytypes just gave me a list of 2 types, and no clue how to relate the given types with the attachments. 



    Do you have any other indication about where can I find the content type of the attachments as you mentioned?

    Just in case, I also tried the BodyContentType and got another result that seems to me of no use for this purpose. 

    multipart/mixed;
    boundary*0=_004_FR6P281MB3437A162F1C7800D0C96724388C5AFR6P281MB3437DEUP;
    boundary*1=_

    BR. 

Children