Feature Guides
...
Templates
Scoring, Flagging & Color Codi...
Using Conditional Logic & Scoring
1min
the conditional logic & scoring feature in visualogyx allows you to apply logic based actions, such as scoring, flagging, and color coding, based on responses within a specific range this guide will walk you through setting up conditional logic for number fields in your templates step 1 add a number field to your template step 1 add a number field to your template 	1\ navigate to the templates section in visualogyx 	2\ click on create template to start a new template or select an existing one to edit 	3\ drag and drop a number field into your template this will be the field where you’ll set up conditional logic step 2 access the logic settings step 2 access the logic settings 	1\ select the number field to open the number properties panel 	2\ go to the logic tab 	3\ click on add logic to begin setting up conditional actions step 3 define your conditional logic (if then rules) step 3 define your conditional logic (if then rules) 	1\ in the logic setup, define your condition using the if then format 	 • if \[field name] is \[condition] (e g , “if number is less than 50”) 	2\ choose from various conditions, such as • equal to 	 • not equal to 	 • less than 	 • less than or equal to 	 • greater than 	 • greater than or equal to step 4 set actions based on conditions step 4 set actions based on conditions 	1\ after defining the condition, select an action to apply when the condition is met 	• add score assign a score based on the response (e g , add +1 point) 	• flag response flag the response if it meets certain criteria 	• set color choose a color to indicate the response’s status (e g , green for acceptable range) 	2\ configure each action as needed to match your inspection criteria step 5 publish and test your template step 5 publish and test your template 	1\ publish the template after configuring all logic conditions 	2\ run a test inspection to ensure that the logic works as expected and that scores, flags, and colors apply correctly example temperature check using conditional logic example temperature check using conditional logic for instance, you might set up a temperature check as follows 	• if temperature \[is] between 65 and 75°f 	 • action add +1 point, set color to green 	• if temperature \[is not] in between 65 and 75°f 	 • action flag response, set color to red 	 this setup provides inspectors with immediate feedback based on the predefined criteria, making it easy to spot acceptable and critical responses during inspections for a visual walkthrough, refer to our video tutorial linked above