Submit command

Official Content
This documentation is valid for:

Note: For GeneXus 9.0 or higher versions, we recommend using the Submit method.

Note: The Client WebSession is not available in the submit procedure.

Purpose

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.

Note

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.

Scope

Objects Procedure object, Transaction object, Web Panel objectWork Panel object
Interfaces Win, Web

See also

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



Was this page helpful?
What Is This?
Your feedback about this content is important. Let us know what you think.