Script functions reference > Script functions in alphabetical order > U > UpdateJobStatus

UpdateJobStatus
Syntax
UpdateJobStatus(status[, error_code]);
A string specifying the new job status. The following values are available: stored, processing, processed, delivering, delivered, terminated, suspended, deleted, inprogress, partiallyprocessed, custom, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8, custom9.
Description
Updates the status of the current post-processor job in the Post-processor repository. The function can be used at the following post-processing scripting levels:
Before and after document, process and page.
Returns
num<>0
Example
$ret = UpdateJobStatus("processed");
OpenText StreamServe 5.6 Updated: 2013-03-01