|
The Exit command is a behavior object found in the general .
|
Settings
|
The Settings section includes the option to cancel an event and return values.
|
Exit Settings
|
Object
|
Details
|
Additional Information
|
Cancel Event
|
The Cancel Event check box should be selected if you have the following scenario:
On the App Submit event, which is triggered when the Submit button is pressed, you add a validation behavior. This validation behavior could be, for example, if a certain field has a certain format which is checked on a branch condition.
If the branch is false (validation was not successful) then you use an exit command with the cancel event to cancel the submission.
|
|
Return Value
|
Text or Number
|
Selection of this radio button enables you to enter a static text or numeric value to be displayed when the Exit command runs.
When an Exit command is dropped onto the behaviors canvas, this radio button is selected by default.
|
The value returned by an Exit command can be used as part of a condition using the Special Field 'Behavior - Last Behavior's Return Value'.
Special Fields and Properties
|
Value of a Field
|
Selection of this radio button enables you to select a field from your app from which the return value for the Exit command can be pulled.
To select the desired field, click the Select button, then navigate to the field containing the return value for the Exit command. Once a selection has been made, the value will be shown in the read-only text box to the left of the Select button.
|
|
Special
|
Selection of this radio button lets you choose from a predefined list of app meta data that is universally available in apps to act as the return value for the exit command. This includes special values such as Instance Name, Instance ID, URL, Current Date, etc.
|
Special Fields and Properties
|
Formula
|
Select this radio button then click Compose to provide a condition or formula as the return value for the exit command. Formulas can use field values, dates, button states or other special values.
|
Formulas
|
|
To return to the Exit command details CLICK HERE.