2 Expressions
Dan Funk edited this page 2020-05-12 17:43:38 -04:00

You can write basic expressions in Decision Tables and at Exclusive gateways. Generally speaking, the python language is supported, and you can refer to accumulated data using dot notation.

Here are are few examples of common expressions you can create, and the expected result.

Example Result
string length('abcd') 4
contains('abcXYZdef','XYZ') True
list contains(x,'b') True
list contains(x,'z') False
all ([True,True,True]) True
all ([True,False,True]) False
any ([False,False,False]) False
any ([True,False,True]) True
day of week('2020-05-07') 4
list contains(['x','y'],'x') True
append(['a','b'], 'c') ['a','b','c']
now() 2020-05-07
concatenate('a','b','c') "abc"