Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Functions are groovy scripts defining what to do when a webhook is received by FlexDeploy. Each provider may have multiple functions associated with it. 

Viewing Webhook Functions

Access functions by navigating to Administration → Integrations → Webhooks.

{{screenshot of demo}}

Creating/Editing Webhook Functions

To create a new function, click the Create button. To view or edit a function, click on the name of the function.

Field

Description

Name

The name of the function

DescriptionThe description for the function
ProviderProvider this function is for
UriPath webhook will be sent (full resource path is printed below)
ActiveWhether the function is active

Groovy Script

The Groovy script shown will be executed when a webhook is received at the listed uri from the selected provider. More function examples can be found {{link}}. The editing window has capabilities for undo, redo, find, find and replace, and go to line. There are a variety of built-in variables and methods available to use in this script. Type Ctrl + Space for suggestions on variables and methods. See the full list of available variables and methods {{link}}.

FLEXDEPLOY

MethodParametersDescription



HMAC

MethodParametersDescription



  • No labels