Create an inbound email action to put the subject in short description.

Bharath kumar6
Tera Expert

I need to create an inbound email action so that it creates a record in change request table.

Subject - short description of change request.

Body - Description.

Attachments in email - attachments in change request.

 

Please guide me how to achieve this.

1 ACCEPTED SOLUTION

it should not be twice

small update

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

OR

current.insert();

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

current.update();

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

16 REPLIES 16

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

so what have you created so far and where are you stuck?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

you can refer the OOB inbound on incident table and replicate the same for Change Request

find_real_file.png

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

okay.

How do I put custom form address.

Hi,

Sorry I didn't get

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader