Application Builder Tools > The Declarations Branch > Activation Condition

Activation Condition
The Activation Condition node () is a condition that can evaluate to true or false, which decides if the parent node is active or inactive. For example, if the parent is a Choice List node, a false activation condition for a choice list excludes the list from the combo box that uses it. You can specify a label to display in the Label field and the name of the Activation Condition object in the Name field.
The Settings window of the activation condition contains the following sections:
Source
This section contains a tree with a filtered view of the tree in the Application Builder window. The nodes either represent some sort of data or have children that do. For an activation condition, variable declarations under Declarations are available as sources. When you select a node that represents data, the Use as Source toolbar button below the tree becomes enabled. You can also right-click the node and choose Use as Source. You can also click the Create button () in the Source section header to create a new variable declaration for the form object and use it as the source. A Create and Use Variable dialog box opens, so that you can select the data type of the source (if applicable) and its name. The name cannot be in conflict with any existing variable declaration. Click the Edit Node toolbar button () below the tree to move to the corresponding node. If necessary, the program switches to the Model Builder.
After selecting a node as the source, the node appears as the selected source in the Selected source label.
Typically, you only see the available parameters under the Parameters node, variables under a Variables node, and the data nodes defined under the Declarations branch. You can extend the list of available data nodes by clicking the Switch to Model Builder and Activate Model Data Access button () in the Source section header, which automatically takes you to the Model Builder. Then, select a node in the Model Builder branch whose data you want to access. With this button active, the Settings window of the selected node displays a green check box next to the settings that you can include by selecting that check box (for example, in a Boundary Load node in a solid mechanics model). The data from that node then appears as nodes with the icon in the tree under Source. Any restrictions on a data source are passed along to the application’s user interface. The Load type list in a Boundary Load node, for example, only allows three values (Load defined as force per unit area, Total force, and Pressure), and any form object using this data as its source can only support a subset of those three values.
Condition
In the table under Condition, enter the values to check against the value of the data field. A matching value normally causes the condition to be true, but select the Invert condition on input values check box to invert the condition. Click Delete () to remove an activating value from the table.