We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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
Tera 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
5x ServiceNow MVP

View solution in original post

1 REPLY 1

Voona Rohila
Tera 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
5x ServiceNow MVP