Hi.
As Lindsay already mentioned, one way to go is through Process Automation (PA).
In general, native outbound communication capabilities of SDM are somehow weak, in my opinion.
Sure, using Process Automation in those cases is at least a possibility to handle 3rd party integration in a secure and reliable manner, with the cost of an additional application (PA) and its related infrastructure and operation efforts.
If you already have PA in place, that's not an issue, but if you use SDM as a standalone application, the PA path might be a bit over-sized.
However, PA processes can be triggered(started) based on ticket activity log creation,in detail:
- Whenever a ticket(I/P/R , issue, change) gets changed SDM creates activity log entries.
- based on this alg creation you can attach a so called SDM event to the ticket.
- This event can execute a PA related macro.
- The execution of the macro will send a http request to PA which starts a process in PA
- this http request gets repeated it if it fails, for any reason.
- The process in PA gets the ticket persistent_id as a reference, and can now get all necessary data from the ticket
- PA itself has a broad range of capabilities to do the external, 3rd party communication regarding
- repeating failed integration attempts
- "known/expected error" handling.
- The PA process would also be able to "return" some kind of result into SDM, lets say create an activity log, saying "Data successfully transferred to 3rd party tool xyz"
In my opinion, one should take care of the following principals
- repeating failed communication
- appropriate error handling
- return a result
At least in my understanding , things like a simple exec in spel is not reliable enough, as it is similar to an UDP package, a send and forget.
But as always, it heavily depends on the requirements.
PA has a big footprint, but the broadest range of capabilities, and its the way to go if you already have that in place.
If you are not willing to install, operate and maintain an additional application like PA, I can imagine a different reliable approach, solely based on SDM.
If you are fine with that your integration fails from time to time, lets say in 1 or 2 percentage, maybe less, then the spel-exec path might be sufficient.
just my 50 cent
Regards
....Michael
------------------------------
Principal Services Consultant
HCL Enterprise Studio
Germany
------------------------------
Original Message:
Sent: 07-17-2020 09:37 AM
From: Jeffery Mason
Subject: SDM 17.2 integration to a 3rd party App
I'm looking for a simple solution to send initial ticket content to an external app. Does anyone have an example of a jar file that can be called from an activity notification to ship ticket data to an external application?
Thanks
Jeff
------------------------------
Service Desk Contractor
Royal Canadian Mounted Police
------------------------------