Official Content

Executes a program asynchronously. The main program flow will continue processing immediately.

Syntax

Submit(pgm, submit-parms[, parm1, … , parmN])
 
Where:

pgm
    Is the name of the GeneXus object or an external program to be called. If a GeneXus object is used, the only valid objects are Procedures that do not require screen (i.e. Asks and Confirms). If an external program is used, the name is a string and must be written between quotes or apostrophe. It cannot be a variable.
 
submit-parms
    This parameter is only used in iSeries applications, all other generators will ignore the parameter.

 parm1, … , parmN
    Are optional parameters that can be sent to the called object with some purpose (and they must be received in the called object by declaring them with the Parm rule. These parameters can be attributes or variables. Expressions or constants are not supported.

Scope

Objects: Procedure, Transaction, Web PanelWork Panel

Notes:

  • In Java, a pool of threads is used, and it should be managed editing the client.cfg file and changing the SUBMIT_POOL_SIZE entry.
  • For GeneXus 9.0 or higher versions, we recommend using the Submit method.
  • The Client WebSession is not available in the submit procedure.

See Also

Call command
Call rule
Submit rule
iSeries Submit considerations
VB Submit considerations
Smart Devices Submit considerations





Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant