What happens when a precondition is satisfied in ModelBuilder?

What happens when a precondition is satisfied in ModelBuilder?

With Boolean variables, ModelBuilder reads the TRUE or FALSE value of the variable instead of determining whether the data has been created. If the value is TRUE, the precondition is satisfied and the dependent tool will execute.

What happens when a precondition is not met?

If the Run Model parameter is not checked, the Boolean variable is FALSE, and when the model is executed, the dependent process within the model will not execute, as the precondition is not met. If the parameter is not checked, running the model will issue a warning message: “The process did not execute because the precondition is false.”

What happens if the precondition is false in ArcGIS?

If the value is FALSE, the precondition has not been satisfied and the dependent tool will not execute. In the example below, a Boolean variable, Run Model, is made a precondition to a tool. The Boolean precondition variable is made a model parameter so it is exposed when the model tool dialog box is opened.

Can a variable be made a precondition to tool execution?

Any variable can be made a precondition to tool execution, and any tool can have more than one precondition. In this example, two separate but related processes will be connected using a precondition so that one process executes before the other.

What happens if the precondition of a tool is false?

If the value is TRUE, the precondition is satisfied and the dependent tool will execute. If the value is FALSE, the precondition has not been satisfied and the dependent tool will not execute. In the example below, a Boolean variable, Run Model, is made a precondition to a tool.

How are preconditions used to control the Order of operations?

Preconditions can be used to explicitly control the order of operations in a model. For example, a process can be made to run after another process by making the output of the first process a precondition to the second process. Any variable can be made a precondition to tool execution, and any tool can have more than one precondition.

How does a Boolean variable work in ModelBuilder?

With Boolean variables, ModelBuilder reads the TRUE or FALSE value of the variable instead of determining whether the data has been created. If the value is TRUE, the precondition is satisfied and the dependent tool will execute. If the value is FALSE, the precondition has not been satisfied…

How is a Boolean variable used as a precondition?

A Boolean variable used as a precondition behaves differently from data variables like feature datasets or feature classes. With Boolean variables, ModelBuilder reads the TRUE or FALSE value of the variable instead of determining whether the data has been created.