Ah ok. There are a couple of options depending on what you're most comfortable with.
Assuming you're dealing with the Introscope portion of APM:
- Send an email directly from your APM Notifications to your ServiceNow instance email address and have ServiceNow parse the incoming email. ServiceNow already allows inbound email to create tickets. A long long time ago I wrote an email routing business rule that basically took the recipient of the email to determine which group to assign the ticket to and would also parse the email differently based on the content. This would require you are familiar with business rules or the newer visual workflow thing. This may need to work a little differently for you if you have the SaaS version of ServiceNow.
- use the shell command action to be called whenever you reach an alert state of interest and then have it call a script of sorts that will take the information you want and ship it to ServiceNow via web service
- Write something that would poll for alert states via the APM webService and based on your conditional logic turn around and send the needed message to ServiceNow via email/webservice. You would need to consider your polling intervals and how often your alerts may change condition, so depending on when you poll, will your alerts be in a warning/danger state. Not as ideal, but could work
The ServiceNow WSDL's are freely available by accessing whichever table you need to create a record in. For incidents for example: https://yourservicenowinstance.com/incident.do?WSDL
Depending on your instance, you may or may not have webservices password protected.
Hope this helps atleast with the ideas of what you can do.
-Ramiro