The <ontempenv> element is used within an <interface> element and acts like an if-then statement. Use this element to return a pass or fail value to the project; a pass indicates that the system should continue and run the rest of the project, while a fail indicates it should stop. This is normally used to indicate whether the interface found relevant changes that merit a new run of the project.
After the system executes any commands specified in <run> elements, it processes the <ontempenv> element. Use the name attribute of this element to specify a temporary environment variable, and the state attribute to specify a value.
The <ontempenv> wraps a <step> element, which is executed only if the temporary environment variable name and state exists after the <run> element commands are executed.
<ontempenv name="Changes" state="empty"> <step result="FAIL"/> </ontempenv>