You can use several functions in the Taskflow Expression Editor.
Some of the key functions are described below:
Asset detail functions
You can use the following asset detail functions from the Miscellaneous section of the Expression Editor:
- getAssetLocation
- getAssetName
- getInstanceStartTime
Character functions
You can use the following character functions from the Strings section of the Expression Editor:
- instr
- lpad
- ltrim
- rtrim
Conversion functions
You can use the following conversion functions from the Dates and Times, Miscellaneous, or String sections of the Expression Editor:
- toChar(Numbers)
- toDate
- toDecimal
- toInteger
Data cleansing functions
You can use the following data cleansing function from the Miscellaneous section of the Expression Editor:
- in
Date functions
You can use the following date functions from the Dates and Times section of the Expression Editor:
- addToDate
- dateDiff
- getDatePart
- lastDay
- trunc
Numeric functions
You can use the following numeric function from the Numbers section of the Expression Editor:
- round(Numbers)
- trunc
Organization detail functions
You can use the following organization detail functions from the Miscellaneous section of the Expression Editor:
- getDefaultFailureEmailNotification
- getDefaultSuccessEmailNotification
- getDefaultWarningEmailNotification
- getOrganizationName
Test functions
You can use the following test functions from the Miscellaneous section of the Expression Editor:
- decode
- iif
- isNull
When you use an integer type variable in a function, explicit casting of number is required for best results. For example, rewrite $output.current to number($output.current) in functions where you pass an integer type variable.