Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Groovy is a scripting language that FlexDeploy uses in many places. It allows users to configure values of inputs and variables based on context.

To enable it, click the curly braces next to a value. Some inputs are locked to Groovy mode.

...

once it’s enabled, you will see the purple script indicator

...

on the left side.

The Maximize button

...

on the right will enlarge the input so that you can see your code more easily.

Pressing Ctrl+ Space, period, will open a drop down of potential variables or functions available to you based on the context. Regular text values should be quoted.

...

Clicking the Minimize button

...

in the top right will collapse the input again and you can save your work.

If your Groovy Script has a compilation error, you will be notified when you save. Other errors are found at run time and will be found when the value is used.