Expressions

Expressions are constructs used to evaluate a single value. They consist of variables, operators, and method invocations, and they are constructed according to theJava Unified Expression Language.

You can use expressions to evaluate objects and values in a workflow context, enabling dynamic results. All components of the Collibra API are accessible using expressions. Expressions are enclosed within ${ and }.

Example 
  • ${myVariable} retrieves the value of a variable named myVariable.
  • loggerApi.info("The result of the operation is ${result}") in a script task logs the value of the result variable.
  • ${mail.getEmailAddressForUserName("john")} uses the mail bean to extract John's email address from their username.
  • ${'Please review the '}${item.getTypeName()}${'.'} combines static text with dynamic content. It uses the item bean to include the type of the resource the workflow is referencing.