ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Miscellaneous WEBDEV functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
ExecuteDelayedProcedure (Function)
In french: ExécuteProcédureDifférée
Runs a delayed procedure (in the WEBDEV Application Server).
Note: This function can only be used to execute deferred procedures associated with WEBDEV deferred tasks. It cannot be used to run scheduled WEBDEV tasks.
Example
// The CalcTO procedure was defined 
// as a deferred procedure in the code editor
ExecuteDelayedProcedure(CalcTO, 0)
Syntax
ExecuteDelayedProcedure(<WLanguage procedure> [, <Parameter 1> [... [, <Parameter N>]]])
<WLanguage procedure>: Procedure name
Name of WLanguage procedure to run. This procedure must have been defined as delayed procedure in the code editor. For more details, see Delayed procedures.
<Parameter 1>: Type of parameter
First parameter associated with the procedure.
<Parameter N>: Type of parameter
Nth parameter associated with the procedure.
Remarks
  • The execution of the procedure may fail if the procedure is already run in background task.
  • If your project uses pre-launched sessions, this function must not be used in the project initialization event. This function must be used in the "Initialization in pre-launched session mode" event.
Component: wd300vm.dll
Minimum version required
  • Version 18
Comments
Click [Add] to post a comment

Last update: 09/11/2024

Send a report | Local help