Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Inbound Email Attachment

Ajay Singh2
Tera Contributor

How to Attach a file in Incident with Inbound Email Action. Requirement below.

 

Requirements: If the an incident comes in with Contact Type = Email AND does not meet the criteria for any assignment lookup rules, the incident shall be assigned to US-IT-TS-SD-L1.
If Contact Type = Email
Assignment group = US-IT-TS-SD-L1
Incident state = New
Opened by = <Affected User/From>
Priority5 - Low

Can attachments be added to the incident if the user sends a new e-mail with attachment(s) to IT Service Desk test@service-now.com to create an incident.

 

 

 

1 ACCEPTED SOLUTION

Voona Rohila
Mega Patron
Mega Patron

HI @Ajay Singh2 

You can add below code in the inbound email script

GlideSysAttachment.copy('sys_email',sys_email.sys_id,current,current.sys_id);

 

if you are using flow designer, use Copy Attachment action

https://docs.servicenow.com/bundle/vancouver-build-workflows/page/administer/flow-designer/reference...

 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

View solution in original post

1 REPLY 1

Voona Rohila
Mega Patron
Mega Patron

HI @Ajay Singh2 

You can add below code in the inbound email script

GlideSysAttachment.copy('sys_email',sys_email.sys_id,current,current.sys_id);

 

if you are using flow designer, use Copy Attachment action

https://docs.servicenow.com/bundle/vancouver-build-workflows/page/administer/flow-designer/reference...

 

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP