Skip to content

bmel:toEnumValue

Category: Logic & Control Flow · Returns: bmel:enum

bmel:toEnumValue(value: bmel:string)

Description

Converts a bmel:string to its matching bmel:enum constant by exact case-sensitive match. Returns null if the value does not match any declared enum value.

Arguments

Parameter Type Required Description
value bmel:string The string value to convert. Must exactly match a declared enum value (case-sensitive). Returns null on no match.

Example

bmel:toEnumValue({order:Response Payload}.$.status)

Back to BMEL Reference