9.6.3 Asynchronous Jobs
When a function is run asynchronously, it's run as a job which can be tracked by using the rqJobStatus
and rqJobResult
functions.
- ore_async_flag Argument
The special control argumentore_async_flag
determines if a job is run synchronously or asynchronously. The default value is false. - rqJobStatus Function
Use therqJobStatus
function to look up the status of an asynchronous job. If the job is pending, it returnsjob is still running
. If the job is completed, the function returns a URL. - rqJobResult Function
Use therqJobResult
function to return the job result. - Asynchronous Job Example
The following examples shows how to submit asynchronous jobs with non-XML output and with XML output.