The OnStart component executes a function before any functions called by the OnValue component execute. If OnStart is a child of the Page component, the function is executed when the Mobile Reach application first starts.
Context consists of the records that provide the source data and target data for the task executed by a component. The Main record and Secondary record Component Details display the names of the database tables that contain these records.
For the OnStart component, Main record and Secondary record have the same value, which is inherited from the parent component. OnStart does not use this value directly but passes it to its child components. Selecting a function does not affect the value for OnValue but may affect the values of its child components.
NOTE: For all parent components except Page, the Foreach function must be called by the parent component before the OnStart component becomes an available child.
NOTE: Additional child components may become available, depending on the function that is selected.