Service Desk Practitioners Forum
cancel

SD_event and exit code

SOLVED
Go to solution
Highlighted
pezmannen
Frequent Contributor.

SD_event and exit code

Hi

I've built a web service that creates cases with sd_event. The problem is that sd_event always exits with exit code 0 and therefore making it impossible for me to se if my request was successful or not. Is there a way to fix this?
10 REPLIES
George M. Meneg
Acclaimed Contributor.
Solution

Re: SD_event and exit code

Hello,

You need to upgrade to SP22 or wait for SP23 that is due to the end of month.
menes fhtagn
pezmannen
Frequent Contributor.

Re: SD_event and exit code

Ok, how will it work with that update?
George M. Meneg
Acclaimed Contributor.

Re: SD_event and exit code

Hello,

Sorry, the fix (ITSM008652) was about sd_import and not sd_event.
menes fhtagn
Michel SILVA SO
Outstanding Contributor.

Re: SD_event and exit code

Hi pezmannen,
Another way is to use WEB-API to develop your Case creation. Which is more flexible and powerfull thant sd_event.

Just in case you feel confortable with JAVA programation.

Hope this helps,
Rgds,
Michel
pezmannen
Frequent Contributor.

Re: SD_event and exit code

Ok, so the exit code 0 for all new cases is still there then? I guess this makes it impossible for everybody who wants to have some kind of automated error handling?
pezmannen
Frequent Contributor.

Re: SD_event and exit code

There's a web api? This is news for me (consultant helping customer). Where do i find this API?
Michel SILVA SO
Outstanding Contributor.

Re: SD_event and exit code

Open Admin console (Tools>System):
File>Generate Web API...

Refer to WEB-API documentation as well as the Service Pack Documentation.

Rgds,
Michel
pezmannen
Frequent Contributor.

Re: SD_event and exit code

Is it possible to call the web API from .Net?
Michel SILVA SO
Outstanding Contributor.

Re: SD_event and exit code

Normally Yes.
That's why WEB API are made for, to be used by any other programation language.

Good Luck!
;o)
Michel
Michel SILVA SO
Outstanding Contributor.

Re: SD_event and exit code

Hi there,
Don't my answers deserve even a single tinny little point?

Hope the WEB-API worked. See you soon! ;o)
Rgds,
Michel