diff --git a/src/builtins/camunda.json b/src/builtins/camunda.json index 11cdbd5..26b0f3e 100644 --- a/src/builtins/camunda.json +++ b/src/builtins/camunda.json @@ -478,5 +478,21 @@ { "name": "last day of month(date)", "description": "

Camunda Extension

\n

Takes the month of the given date or date-time value and returns the last day of this month.

\n

Function signature

\n
last day of month(date: date): date\n
\n
last day of month(date: date and time): date\n
\n

Examples

\n
last day of month(date("2022-10-01"))\n// date("2022-10-31"))\n\nlast day of month(date and time("2022-10-16T12:00:00"))\n// date("2022-10-31"))\n
\n" + }, + { + "name": "is empty(list)", + "description": "

Camunda Extension

\n

Returns true if the given list is empty. Otherwise, returns false.

\n

Function signature

\n
is empty(list: list): boolean
\n

Examples

\n
is empty([])\n// true\n\nis empty([1,2,3])\n// false\n
" + }, + { + "name": "trim(string)", + "description": "

Camunda Extension

\n

Returns the given string without leading and trailing spaces.

\n

Function signature

\n
trim(string: string): string
\n

Examples

\n
trim(\"  hello world  \")\n// \"hello world\"\n\ntrim(\"hello   world \")\n// \"hello   world\"\n
" + }, + { + "name": "uuid()", + "description": "

Camunda Extension

\n

Returns a UUID (Universally Unique Identifier) with 36 characters.

\n

Function signature

\n
uuid(): string
\n

Examples

\n
uuid()\n// \"7793aab1-d761-4d38-916b-b7270e309894\"\n
" + }, + { + "name": "to base64(string)", + "description": "

Camunda Extension

\n

Returns the given string encoded in Base64 format.

\n

Function signature

\n
to base64(value: string): string
\n

Examples

\n
to base64(\"FEEL\")\n// \"RkVFTA==\"\n
" } ] \ No newline at end of file