Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
Previous |
Next |
Home > Idoc Script Reference Guide > Core Content Server Variabl... > StatusCode
Indicates if the last function call was successful or failed. This variable is set at the end of a service call.
Certain functions set this variable to zero (0) upon success.
Certain functions set this variable to a negative numeric value (-1) upon failure. Typically, the abortToErrorPage function is called to display an error page with the StatusMessage from the most recent function call.
Type and Usage
Output
Returns 0 if the last function call was successful.
Returns -1 if the last function call failed.
Example
Returns the current status code:
<$StatusCode$>
See Also