This section describes how to create a page process.
Topics:
A page process performs an action at a specified point during the rendering or submission of the page. For example, you can create a page process to execute logic or to make a call to the Application Express engine. A page process is a unit of logic that runs when a specific event occurs, such as loading or submitting a page.
From a functional perspective, there is no difference between page-level and application-level processes. The difference between these two process types is where the process is defined, that is at the page-level or at the application level.
This section describes how to create a page process.
Tip:
To learn more about execution behavior in the case of a validation error, see "What Happens When a Validation Fails?."
Topics:
To control when a process executes, edit the following attributes:
See Also:
You can define both success and error messages that display when a process runs. How an error message displays depends upon the processing point. For processes with a processing point of On Submit - Before Computation and Validations
or On Submit - After Computations and Validations
, you can specify whether the error message displays inline on the current page (the default) or on a separate page. For all other page processes, error messages display on a separate error page.
To create a page process error or success message:
Developers can create and edit page processes in Component View.
See Also:
Tip:
To learn more about execution behavior in the case of a validation error, see "What Happens When a Validation Fails?"
Topics:
This section describes how to create a page process.You create a process by running the Create Process Wizard. During the wizard, you define a process name, specify a sequence and the point at which the process executes, and select a process category. You can change nearly all of these attributes on the Edit Page Process page.
Once you create a process, you can control when the process executes and what the process does by editing attributes on the Edit Page Process page.
To edit an existing page process:
You control when a process executes by specifying a sequence number and a process point under Process Point on the Edit Page Process page. You can prevent a process from running during subsequent visits to a page by selecting the options under Run Process.
To control when a process executes:
Access the Edit Page Process page. See "Editing Page Process Attributes in Component View."
Edit the following attributes:
Processing Point, Sequence - Specify the sequence for this component. The sequence determines the order of execution.
Processing Point, Process Point - Select the point in the processing at which this branch action is considered.
Processing Point, Run Process - Select how often this process executes.
Click Apply Changes.
You can define both success and error messages that display when a process runs. How an error message displays depends upon the processing point. For processes with a processing point of On Submit - Before Computation and Validations
or On Submit - After Computations and Validations
, you can specify whether the error message displays inline on the current page (the default) or on a separate page. For all other page processes, error messages display on a separate error page.
To create a page process error or success message: