Forum Discussion
Shack
Advisor
2 months agoYou can't use ## in groovy. I think those are reserved for PowerShell.
Try something like this. You can do hostProps.get or instanceProps.get depending on where the property is.
def answer = instanceProps.get("auto.myproperty123");
if(answer == "true")
{
return "0";
}
if(answer == "false")
{
return "1";
}