Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

What is the Variable value of Checkbox? #39

orgas002 ·


I tried setting up a variable of a Checkbox inside one of my configurations. I tried getting the result inside a groovy script file as:

import com.pmease.quickbuild.variable.VariableAccessor;
checkboxVar = vars.getValue("Checkbox").asBoolean()
//logic here

but when I try to get the result of checkboxVar, it isn't a bool value, so what type of value is returned?


  • replies 1
  • views 739
  • stars 0
robinshen ADMIN ·

Please change vars.getValue("Checkbox").asBoolean() as below:


getValue will return the value as string