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
\nTakes the month of the given date or date-time value and returns the last day of this month.
\nFunction signature
\nlast day of month(date: date): date\n
\nlast day of month(date: date and time): date\n
\nExamples
\nlast 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
\nReturns true if the given list is empty. Otherwise, returns false.
\nFunction signature
\nis empty(list: list): boolean
\nExamples
\nis empty([])\n// true\n\nis empty([1,2,3])\n// false\n
"
+ },
+ {
+ "name": "trim(string)",
+ "description": "Camunda Extension
\nReturns the given string without leading and trailing spaces.
\nFunction signature
\ntrim(string: string): string
\nExamples
\ntrim(\" hello world \")\n// \"hello world\"\n\ntrim(\"hello world \")\n// \"hello world\"\n
"
+ },
+ {
+ "name": "uuid()",
+ "description": "Camunda Extension
\nReturns a UUID (Universally Unique Identifier) with 36 characters.
\nFunction signature
\nuuid(): string
\nExamples
\nuuid()\n// \"7793aab1-d761-4d38-916b-b7270e309894\"\n
"
+ },
+ {
+ "name": "to base64(string)",
+ "description": "Camunda Extension
\nReturns the given string encoded in Base64 format.
\nFunction signature
\nto base64(value: string): string
\nExamples
\nto base64(\"FEEL\")\n// \"RkVFTA==\"\n
"
}
]
\ No newline at end of file