Skip to content


Concepts and Principles




API Explorer


Running a Groovy Service

After you have created your Groovy Service, you may want to run it. Running a Groovy Service is a pretty straightforward process, just do the following:

  1. Right click on the Groovy class or script which contains the service1 you want to run, then click Invoke in Browser.
  2. Select the service you want to run from the appearing dialog.

    Extra services

    Aside from the services explicitly declared in your script, you many find other services by checking the Show hidden services checkbox. These services are from your class or script's superclass. Thus, if you have used inheritance, you will also see the services of the inherited class. Show Hidden Services on the Sevice Picker

  3. Click OK. A new browser tab will open up which displays the details of the service you are about to invoke.

  4. If your service has input parameters, you will see input elements on the page, which you may populate with sample data.
  5. Click Invoke to finally run the service.

Invoking a Groovy Service via the *Service Invoker*

Alternative way of running services

Another way to run services in Coder Studio is by opening the file and clicking the run icons beside the line numbers. You will find these icons across method signatures. Doing so will open the invoke window for the service. Coder Studio Invoke from Editor

Invoking a Groovy Service via the *Service Invoker*

  1. Groovy Services, simply put, are Groovy methods or scripts.