Expressions are strictly typed

Updated 3 days ago by Nandini

Kissflow is strictly typed. That means that fields will not accept a data type that it is not meant to receive.

Field

Accepted Data Type

Text

TEXT

TextArea

TEXT

Number

NUMBER

Yes/No

BOOLEAN

Date

DATE

Datetime

DATETIME

Select

TEXT

Rating

NUMBER

Slider

NUMBER

Currency

CURRENCY

Multi-select/Checkbox

LIST{TEXT}

Multi select user

LIST{USER}

Lookup

ITEM

That also means that functions will not accept parameters that do not adhere to its functional signature.

ADD("1",2) will throw an error as "1" is a Text and not a number.

Expressions are chained

Chaining is a way of writing expressions that are considered to be more readable and easily writable. Most functions that manipulate a data type is implemented as a chainable method of that data type.

Text.trim().toUpperCase().replace(" ","")

Instead of (functional):

REPLACE(TOUPPERCASE(TRIM(TEXT))," ", "")

Here is a tip to read or write chained functions.Think left to right on the progressive computations you need to do. If this were functional you would do it inside out.


How did we do?