Groovy function

apiAccessor in Groovy Function

I'm writing a very simple Groovy Function to return a list, example below:

Groovy Script Function apiAccessor in Error

Hi there,

basic I know and really annoying for me, new to Groovy...

I'm writing the following function to return the process name...but apiAccesor and processRuntimeAPI keep getting flagged as follows: