This post is more than 5 years old

22 Posts

139025

September 24th, 2012 17:00

call functions within a function in groovy

I have created a groovy function GetDiskCost under "My Definitions".  I am in the process of creating another groovy based function GetVMCost, and I would like to call GetDIskCost inside the GetVMCost function.  How would I do that?  If I do def diskCost = GetDiskCost(vm), it will return error when trying to test the function

19 Posts

September 25th, 2012 13:00

HI Frank,

this will be done with the functionHelper call, for example:

diskCost = functionHelper.invokeFunction(" ", anyparam...);

Bets regards,

No Events found!

Top