I am calling an external API that can take quite a long time to return, but I only need the return data saved to database.
I do this by calling a report via javascript (button clicked) or from another report (as part of code) - I want it to return as soon as the call is initiated, not when the post call is completed.
It can return silently.
How can I trigger dbr.http.post so that it immediately returns but the report / api call continues to wait for a response in the background and inserts into the database. I will then poll the database for the result?
Basically call a report within another report but the called procedure will run in background. I can't rely on the scheduler, as it will only run once every minute, and I need the API call started immediately in background upon request.