Functions

Functions make it possible to compute values dynamically, for example by concatenating multiple values together or extracting sub-text from an API response. The syntax for calling a function is:

<name>(<term>, <term>, …)

For example:

href(col_item)

A function may have zero or more parameters. The Policy Template Language Functions list all the functions available for use in policy templates. The list describes the parameters and return values as well as where the function may be used.