When the user sets up a unit execution task, additional parameters are added on the Parameters page/tab in the setup wizard.
Set the parameters:
Executed Unit. Select a unit in the drop-down list.
NOTE. In the unit execution tasks, it is forbidden to create visual forms and components.
Procedure/Procedure Name. In the drop-down list select a procedure or a function that will be executed on task startup. The list contains all procedures and functions implemented in the unit global scope.
Parameter Values. Set the parameter values that will be sent to procedure or function on task execution. The fields depend on the procedure/function signature. The appearance of the parameter fields depends on parameter types.
NOTE. Only the parameters with a simple data type (String, Integer, and so on) are displayed.
If a task was created before changing procedure/function signature, click the Refresh Parameter List button to refresh the parameter list on task setup.
See also: