This article will outline the features of Boolean Condition Wizard and describe how to use this new Wizard.
The Boolean Condition Wizard is a new Wizard in the Windward Report Designer that assists users in writing logical statements for tags that return a True or False value. Before users were required to write these logical themselves. The new Wizard permits users to build these statements through our Wizard UI and not be required to learn the syntax or go through the process of manual condition writing. Logic written using the Boolean Condition Wizard will always return a True or False Boolean value.
The Boolean Condition Wizard can be used with Out, If, and Case tags connected to SQL, XML, JSON, and OData Datasources.
Prerequisites: The Boolean Condition Wizard should be used in a template connected to your Datasource and which contains a valid tag (Out, If, or Case) that exists in the domain of a template variable. For the majority of use cases the Boolean Condition Wizard requires a template variable (Input Parameter variable, ForEach tag variable, Set tag variable, etc.) to utilize in the condition. Either side of the condition can be sourced from a hard-coded value or from a template variable, but most use cases will require at least one of these values to be a template variable.
Now that we have the Boolean Condition Wizard open, you can build your logic statement. To all logic statements there are two main components: groups and conditions. Groups are multiple conditions linked by “and” or “or” logical relationships. A condition is a single comparison between two values evaluated against a conditional operator. Combined these two components allow you to build complex conditional logic.
While building your condition, a preview of the query is displayed at the bottom of the Wizard and a preview of the value that will be returned is displayed in the right side of the Wizard.
If you've just discovered us, we're excited! Try Windward with our 14-day free trial and start creating documents in quick time with our low/no code solutions.