Used to find out whether the execution is in progress in the AWWS engine.
// Code run from a Webservice?
IF InWebserviceMode() = True THEN
// Processes to perform
...
ELSE
// Processes to perform
...
END
Syntax
<Result> = InWebserviceMode()
<Result>: Boolean
- True if the code is run in the AWWS engine,
- False in all other cases.
Remarks
Availability of the function
InWebserviceMode can be used in all IDEs to allow for cross-platform code. Functions or procedures that use InWebserviceMode can be shared between several products without generating any compilation error.
Business / UI classification: Neutral code