Inline Functions - Overview
|
Contextualized Assistance:
|
Inline Functions consist of built-in functions and expressions. A function returns the result of operations performed on input values. An expression is built up through the Expression wizard, providing a text-based canvas for combining operators and values.
Inline Functions allow designers to build simple to complex expressions in any read/write field. The expressions provided allow users to calculate dates, concatenate text, do logical functions and perform math calculations, and perform certain file functions. These functions and expressions can be used in rules (Start, Preceding, Line and Escalation) and as a generic way to manipulate data in fields. As part of the Data Event, text can be altered as it is being copied (mapped) to other fields. Inline Functions are used to both evaluate a condition (true/false) and to return a result, which can be of any type that the K2 platform supports.
Functions are categorized into the following groups:
- Conversion - perform data-type conversions on input values.
- Data - perform data type functions
- Date and Time - perform operations on date and time input values and return string, numeric, or date and time values.
- Excel - perform calculations, usually based on input, and returns a value
- Expression - perform multiple operations based on an expression and return values.
- Files - perform operations on files, get content, file names and more.
- InfoPath - perform attachment-related operations on InfoPath documents and return arrays of bytes.
- Lists - perform calculations on lists based on input values and returns a number.
- Logical - perform Boolean operations on input values and return True or False.
- Mathematical - perform calculations based on numeric input values provided as parameters to the functions and return numeric values.
- Regular Expressions - provide a powerful, flexible, and efficient method for processing text
- SharePoint - gets the connection values for SharePoint Member and User Emails, and SharePoint Groups and Users.
- Text - perform operations on string input values and return a string or numeric value.
- Word - gets the content data of a Content Control in a Word document
- Saved Functions - contains the saved function configuration