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 (63.5k●3●36●46)
| 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
Francisco Rodriguez
commented Nov 03 '15, 1:17 p.m.
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: |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.