It's all about the answers!

Ask a question

Finish follow up extension's execution after one second


Francisco Rodriguez (561528) | asked Nov 03 '15, 10:33 a.m.
edited Nov 03 '15, 10:35 a.m.
 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


permanent link
Ralph Schoon (63.3k33646) | 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


Register or to 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.