Forum Discussion
Shack
Advisor
6 days 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";
}
Related Content
- 2 months ago
- 9 months ago
- 10 months ago