Hello I am trying to put mitch code in for the button controller on the api site and here is what it is saying and could someone please advise. Thanks
No signature of method: script1455994476535859605170.metadata() is applicable for argument types: (script1455994476535859605170$_run_closure1) values: [script1455994476535859605170$_run_closure1@7102d0e3] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)