Scheduled Event Functions

@Since 7.0.0.3

Scheduled Event Functions are groovy scripts which are executed on a user-defined interval. Each function has an associated cron expression that defines frequency of execution. For example, you could have one function that sends out a monthly email report on Environment state and another that sends daily updates on Releases to their creators over Microsoft Teams.

View Scheduled Event Functions

Access Scheduled Event Functions by navigating to Administration → Scheduled Events and then click on the button in the top right.

image-20240215-171125.png

Creating/Editing Scheduled Event Functions

To create a new Scheduled Event Function, click the button. To view or edit a function, click on its name in the table row.

Field

Required

Description

Field

Required

Description

Function Name

Yes

The name of the function

Description

No

The description of the function

Active

Yes

Whether or not the function is active (Defaults to Yes)

Cron Expression

Yes

Interval defining how frequently the function will execute. The cron expression’s interval must be equal to or greater than 5 minutes.

Groovy Script

The groovy script for the function will be executed when the next execution time is reach as defined by its cron expression. The editing window has capabilities for undo, redo, find, find and replace, and go to line. There are a variety of Context Variables and Methods available to use in this script. Type ‘Ctrl + space’ in the editor for suggestions on variables and methods that can be used.

image-20240215-180038.png

 

The following macros are not currently supported in the footer:
  • style