Submit rule

Unofficial Content
This documentation is valid for:

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

Purpose

Executes a program asynchronously.

Syntax

Submit(pgm, submit-parms[, parm1, … , parmN]) [if cond];
 
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
    Parameters received by the program to be called. These parameters can be attributes or variables. Expressions or constants are not supported.

Description

Executes a program asynchronously; the main program flow will continue processing immediately.

Scope

Objects Transaction object
Interfaces Win, Web
   

See also

Call command
Call rule
Submit command
iSeries Submit considerations
VB Submit considerations