Finish follow up extension's execution after one second
![]()
Hi,
I developed a follow up extension on the deliver action in order to call a web service. I need to do something like a "fire and forget" call. The follow up extension only triggers the call but does not wait for a response. Given that, how can I stop the extension's execution?
Is there a way to logout from the thread or something like that?
Regards,
Francisco R.
|
Accepted answer
![]()
Ralph Schoon (62.0k●3●36●43)
| answered Nov 03 '15, 11:27 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You would have to call a non blocking call, or run a background job on a different thread. There is a Job API you could search for. I haven't used it, but it exists.
Francisco Rodriguez selected this answer as the correct answer
Comments Thanks for taking a time to help me, Ralph. As you suggested, there is a way to do what I am trying with the Job API. I found an example on this post: |