How to Configure Loop Markers How to Configure Multi-Instance Markers

22-12 Modeling and Implementation Guide for Oracle Business Process Management name.length

22.9.1.2 concatenation

Concatenates one or more Strings. Examples: name + + lastName Oracle + BPM

22.9.1.3 contains

Returns true if the String contains the specified String. Signature: Bool containsString mainString, String subString Arguments: subString - The String to find. Examples: productName.containsbook containsproductName, book

22.9.1.4 startsWith

Returns true if the String starts with the specified String. Signature: Bool startsWithString mainString, String subString Arguments: subString - The String to find at the beginning of the String. Example: productId.startsWithABC startsWithproductId, ABC

22.9.2 Numeric Functions

These functions enable you to perform calculations using numeric data types. The available numeric data types are Real, Decimal, and Int.

22.9.2.1 floor

Returns the largest Int value that is smaller than the numeric value used for invoking this function. You can use this function with Real and Decimal data types. Signature: Int floorReal number Int floorDecimal number Writing Expressions 22-13 Arguments: - Examples: number.floor floornumber number.floor floortotalAmount3 temperature.floor

22.9.2.2 ceil

Returns the smallest Int value that is greater than the numeric value used for invoking this function. You can use this function with Real and Decimal data types. Signature: Int ceilReal number Int ceilDecimal number Arguments: - Examples: number.ceil ceilnumber number.ceil

22.9.2.3 round

Returns the closest Int value to this number. If there are two Int values that are equally close, then it returns the greater one. You can use this function with Real and Decimal data types. Signature: Int roundReal number Int roundDecimal number Arguments: - Examples: number.round roundnumber number.round

22.9.2.4 abs

Returns the absolute value of this number. You can use this function with Int, Real, and Decimal data types. 22-14 Modeling and Implementation Guide for Oracle Business Process Management Signature: Int absInt number Real absReal number Decimal absDecimal number Arguments: - Examples: number.abs absnumber number.abs

22.9.3 DateTime and Interval Functions

These functions enable you to manipulate time variables and literals, and perform calculations based on them. The available time data types are DateTime and Interval.

22.9.3.1 now

Special notation for the system current date and time. Examples: setReceivedDate’now’

22.9.3.2 addition

Adds an interval to a DateTime variable or value. Examples: today + ’1d3h’ now + 3d vacationStartingDate + ’1M’

22.9.3.3 subtraction

Subtracts an interval to a DateTime variable or value. Examples: today - ’2d3h25m’ now - age expirationDate - ’7d’

22.9.3.4 year

Returns the year of this DateTime variable. Signature: Int yearDateTime date