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?