Hi Twack Community,
I'm looking for a solution to do aritmetic operations inside a Configuration Change Template.
Currently I'm struggeling to get following informations
script calculation(
NCM.Nodes @ContextNode,
int @variablesa
)
{
int @variablesb = @variablesa + 100
{
CLI
{
variablesb @variablesb
}
}
}
Once I'm entering into variablesa > 100 and run the script, I'm not getting as a result 200, but getting the error message below:
Error:Cannot assign 100100 of type System.String to variable @variablesb of type int.
Does anybody have any informations how to perform this ?
Thanks in advance