Creating Mail Bounce Emails

General No Comments »
by:

One of the requirements from my last implementation was to prevent new incident creation from mail. The simple way to disable this functionality is to make the Inbound Email Action Create Incident inactive. But a requirement was also to send a notification mail back to the original sender of the mail.

A way to achieve this is to create a trigger to send a mail back to the sender. To use this functionality, I used the some things from the Wiki (http://wiki.service-now.com/index.php?title=Events_and_Email_Notification) and created some new functionality to create a bounce mail based on an incoming email action.
Continue reading…»

PHP application to create Incident with attachment using SOAP web service

General Comments Off on PHP application to create Incident with attachment using SOAP web service
by:

Jeffry Meijer published earlier an article about Windows application to create Incident with attachment using SOAP web service.
In this article I will talk about achieving similar functionality using PHP.
In order to communicate with ServiceNow you have to establish a connection through web services.
These phases are explained on the SNC wiki step by step.

Normally you can upload an attachment by specifying the folder path in the programming code.
For security reasons this does not work in ServiceNow since foreign programming code is not allowed on the ServiceNow servers.
But there is a workaround called Base64.
This function encodes the attachment file on the client side and through a directional SOAP message is able to communicate with ServiceNow.

Continue reading…»