Skip to Content
Former Member
Jul 25, 2017 at 11:20 AM

HANA XS long running process

90 Views Last edit Jul 26, 2017 at 07:54 AM 3 rev

We are developing an application which triggers PAL algorithms upon request from the client. The problem is that the time needed for the calculation is unknown. It can take 10 seconds or 1 hour.
The main issue we have, is that the client gets a "Timoue-error" because the calculation is too long. What I want is to return "httpok" and make the calculation in the background. The client sees in the UI when it is done.
I know there are XSJOB for handling heavy tasks like this. The problem with XSJOB is that it is based on intervals. I only want the task to run a single time and then delete it again. How could I solve this?