Anywhere Mobility Studio Documentation

How user input is processed

When a user selects a button of the empty type '', the Framework processes the information gathered in the activity. When the activity type is Data grid, the Framework stores the chosen record and determines the next activity in the process. When the activity type is Card, the Framework retrieves a record from the database, validates and stores the user input in a parameter buffer, and determines the next activity in the process.

Retrieving a record from the database

When Activates Next Record is set to Yes on the control, the Framework tries to find a record in the database and stores it for use in the next activities. It filters the control's table using filters from the flow's table relations and activity filters. When applicable, it applies the control's or activity's alternative key. The Framework takes the first record in the resulting record set and stores it for use in subsequent activities.

Storing user input

User input stores in the session parameters. The session parameters hold a relation to the stack line that created or last modified them. Validate the value before storing it in the session parameter by configuring the parameter validation. This expression can take arguments and execute validating code that generates an error when validation fails.

When a parameter has parameter lines attached, entering a value for that parameter triggers those parameter lines to execute. An expression determines the value for the parameter lines. The value validates and a parameter buffer stores the value.